home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 2 / Amiga Tools 2.iso / tex / macros / contrib / includex.sty < prev    next >
LaTeX Document  |  1995-03-15  |  13.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
99% dexvert Texinfo Document (document/texInfo) magic Supported
1% dexvert DirectMusic Style (music/directMusicStyle) ext Unsupported
1% dexvert Microsoft Word Style Sheet (other/microsoftWordStyleSheet) ext Unsupported
1% dexvert KORG File (other/korgFile) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX 2e document text default
99% file LaTeX document text default
98% file TeX document text default
97% file LaTeX auxiliary file, ASCII text default
100% TrID LaTeX 2e document (with rem) default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 20 5c 69 66 66 61 6c | 73 65 0a 25 20 24 49 64 |% \iffal|se.% $Id|
|00000010| 3a 20 69 6e 63 6c 75 64 | 65 78 2e 73 74 79 2c 76 |: includ|ex.sty,v|
|00000020| 20 31 2e 31 20 31 39 39 | 35 2f 30 31 2f 32 38 20 | 1.1 199|5/01/28 |
|00000030| 30 37 3a 34 32 3a 33 31 | 20 73 77 69 66 74 20 45 |07:42:31| swift E|
|00000040| 78 70 20 24 0a 0a 25 20 | 20 20 69 6e 63 6c 75 64 |xp $..% | includ|
|00000050| 65 78 2e 73 74 79 20 20 | 20 20 20 20 20 20 20 20 |ex.sty | |
|00000060| 20 20 20 20 20 20 65 78 | 74 65 6e 73 69 6f 6e 73 | ex|tensions|
|00000070| 20 74 6f 20 4c 61 54 65 | 58 20 5c 69 6e 63 6c 75 | to LaTe|X \inclu|
|00000080| 64 65 0a 0a 25 20 20 20 | 43 6f 70 79 72 69 67 68 |de..% |Copyrigh|
|00000090| 74 20 28 43 29 20 31 39 | 39 34 20 4d 61 74 74 20 |t (C) 19|94 Matt |
|000000a0| 53 77 69 66 74 20 3c 73 | 77 69 66 74 40 62 75 2e |Swift <s|wift@bu.|
|000000b0| 65 64 75 3e 0a 0a 25 20 | 49 6e 20 74 68 65 20 6e |edu>..% |In the n|
|000000c0| 65 61 72 20 66 75 74 75 | 72 65 20 74 68 69 73 20 |ear futu|re this |
|000000d0| 63 6f 64 65 20 77 69 6c | 6c 20 62 65 63 6f 6d 65 |code wil|l become|
|000000e0| 20 70 61 72 74 20 6f 66 | 20 61 20 6c 61 72 67 65 | part of| a large|
|000000f0| 72 20 70 61 63 6b 61 67 | 65 20 63 61 6c 6c 65 64 |r packag|e called|
|00000100| 0a 25 20 22 73 63 68 6f | 6c 61 72 22 20 74 68 61 |.% "scho|lar" tha|
|00000110| 74 20 49 20 77 69 6c 6c | 20 72 65 6c 65 61 73 65 |t I will| release|
|00000120| 20 61 6c 73 6f 20 75 6e | 64 65 72 20 74 68 65 20 | also un|der the |
|00000130| 47 50 4c 2e 20 20 49 20 | 77 61 6e 74 20 74 6f 20 |GPL. I |want to |
|00000140| 6d 61 6b 65 20 63 65 72 | 74 61 69 6e 0a 25 20 75 |make cer|tain.% u|
|00000150| 73 65 66 75 6c 20 70 61 | 72 74 73 20 6f 66 20 74 |seful pa|rts of t|
|00000160| 68 65 20 70 61 63 6b 61 | 67 65 20 61 76 61 69 6c |he packa|ge avail|
|00000170| 61 62 6c 65 20 62 65 66 | 6f 72 65 20 74 68 65 20 |able bef|ore the |
|00000180| 77 68 6f 6c 65 20 70 61 | 63 6b 61 67 65 20 69 73 |whole pa|ckage is|
|00000190| 20 72 65 6c 65 61 73 65 | 64 0a 25 20 62 65 63 61 | release|d.% beca|
|000001a0| 75 73 65 20 49 20 64 6f | 6e 27 74 20 73 65 65 20 |use I do|n't see |
|000001b0| 61 6e 79 20 72 65 61 73 | 6f 6e 20 74 6f 20 77 69 |any reas|on to wi|
|000001c0| 74 68 68 6f 6c 64 20 74 | 68 65 6d 2e 20 20 54 68 |thhold t|hem. Th|
|000001d0| 69 73 20 69 73 20 69 6e | 20 6c 69 65 75 20 6f 66 |is is in| lieu of|
|000001e0| 20 61 20 62 65 74 61 0a | 25 20 72 65 6c 65 61 73 | a beta.|% releas|
|000001f0| 65 20 74 68 61 74 20 77 | 6f 75 6c 64 20 6f 6e 6c |e that w|ould onl|
|00000200| 79 20 62 65 20 66 72 75 | 73 74 72 61 74 69 6e 67 |y be fru|strating|
|00000210| 20 62 65 63 61 75 73 65 | 20 49 20 77 69 6c 6c 20 | because| I will |
|00000220| 6e 6f 74 20 68 61 76 65 | 20 74 69 6d 65 20 74 6f |not have| time to|
|00000230| 0a 25 20 6d 61 69 6e 74 | 61 69 6e 20 69 74 20 75 |.% maint|ain it u|
|00000240| 6e 74 69 6c 20 4d 61 79 | 20 31 39 39 35 2e 20 20 |ntil May| 1995. |
|00000250| 49 66 20 79 6f 75 20 66 | 69 6e 64 20 74 68 69 73 |If you f|ind this|
|00000260| 20 63 6f 64 65 20 75 73 | 65 66 75 6c 2c 20 6c 6f | code us|eful, lo|
|00000270| 6f 6b 20 66 6f 72 20 74 | 68 65 20 77 68 6f 6c 65 |ok for t|he whole|
|00000280| 0a 25 20 70 61 63 6b 61 | 67 65 20 61 62 6f 75 74 |.% packa|ge about|
|00000290| 20 74 68 61 74 20 74 69 | 6d 65 2e 20 20 49 20 77 | that ti|me. I w|
|000002a0| 65 6c 63 6f 6d 65 20 63 | 6f 6d 6d 65 6e 74 73 2c |elcome c|omments,|
|000002b0| 20 73 75 67 67 65 73 74 | 69 6f 6e 73 2c 20 65 74 | suggest|ions, et|
|000002c0| 63 2e 0a 0a 25 20 20 20 | 54 68 69 73 20 70 72 6f |c...% |This pro|
|000002d0| 67 72 61 6d 20 69 73 20 | 66 72 65 65 20 73 6f 66 |gram is |free sof|
|000002e0| 74 77 61 72 65 3b 20 79 | 6f 75 20 63 61 6e 20 72 |tware; y|ou can r|
|000002f0| 65 64 69 73 74 72 69 62 | 75 74 65 20 69 74 20 61 |edistrib|ute it a|
|00000300| 6e 64 2f 6f 72 20 6d 6f | 64 69 66 79 0a 25 20 20 |nd/or mo|dify.% |
|00000310| 20 69 74 20 75 6e 64 65 | 72 20 74 68 65 20 74 65 | it unde|r the te|
|00000320| 72 6d 73 20 6f 66 20 74 | 68 65 20 47 4e 55 20 47 |rms of t|he GNU G|
|00000330| 65 6e 65 72 61 6c 20 50 | 75 62 6c 69 63 20 4c 69 |eneral P|ublic Li|
|00000340| 63 65 6e 73 65 20 61 73 | 20 70 75 62 6c 69 73 68 |cense as| publish|
|00000350| 65 64 20 62 79 0a 25 20 | 20 20 74 68 65 20 46 72 |ed by.% | the Fr|
|00000360| 65 65 20 53 6f 66 74 77 | 61 72 65 20 46 6f 75 6e |ee Softw|are Foun|
|00000370| 64 61 74 69 6f 6e 3b 20 | 65 69 74 68 65 72 20 76 |dation; |either v|
|00000380| 65 72 73 69 6f 6e 20 32 | 20 6f 66 20 74 68 65 20 |ersion 2| of the |
|00000390| 4c 69 63 65 6e 73 65 2c | 20 6f 72 0a 25 20 20 20 |License,| or.% |
|000003a0| 28 61 74 20 79 6f 75 72 | 20 6f 70 74 69 6f 6e 29 |(at your| option)|
|000003b0| 20 61 6e 79 20 6c 61 74 | 65 72 20 76 65 72 73 69 | any lat|er versi|
|000003c0| 6f 6e 2e 0a 0a 25 20 20 | 20 54 68 69 73 20 70 72 |on...% | This pr|
|000003d0| 6f 67 72 61 6d 20 69 73 | 20 64 69 73 74 72 69 62 |ogram is| distrib|
|000003e0| 75 74 65 64 20 69 6e 20 | 74 68 65 20 68 6f 70 65 |uted in |the hope|
|000003f0| 20 74 68 61 74 20 69 74 | 20 77 69 6c 6c 20 62 65 | that it| will be|
|00000400| 20 75 73 65 66 75 6c 2c | 0a 25 20 20 20 62 75 74 | useful,|.% but|
|00000410| 20 57 49 54 48 4f 55 54 | 20 41 4e 59 20 57 41 52 | WITHOUT| ANY WAR|
|00000420| 52 41 4e 54 59 3b 20 77 | 69 74 68 6f 75 74 20 65 |RANTY; w|ithout e|
|00000430| 76 65 6e 20 74 68 65 20 | 69 6d 70 6c 69 65 64 20 |ven the |implied |
|00000440| 77 61 72 72 61 6e 74 79 | 20 6f 66 0a 25 20 20 20 |warranty| of.% |
|00000450| 4d 45 52 43 48 41 4e 54 | 41 42 49 4c 49 54 59 20 |MERCHANT|ABILITY |
|00000460| 6f 72 20 46 49 54 4e 45 | 53 53 20 46 4f 52 20 41 |or FITNE|SS FOR A|
|00000470| 20 50 41 52 54 49 43 55 | 4c 41 52 20 50 55 52 50 | PARTICU|LAR PURP|
|00000480| 4f 53 45 2e 20 20 53 65 | 65 20 74 68 65 0a 25 20 |OSE. Se|e the.% |
|00000490| 20 20 47 4e 55 20 47 65 | 6e 65 72 61 6c 20 50 75 | GNU Ge|neral Pu|
|000004a0| 62 6c 69 63 20 4c 69 63 | 65 6e 73 65 20 66 6f 72 |blic Lic|ense for|
|000004b0| 20 6d 6f 72 65 20 64 65 | 74 61 69 6c 73 2e 0a 0a | more de|tails...|
|000004c0| 25 20 20 20 59 6f 75 20 | 73 68 6f 75 6c 64 20 68 |% You |should h|
|000004d0| 61 76 65 20 72 65 63 65 | 69 76 65 64 20 61 20 63 |ave rece|ived a c|
|000004e0| 6f 70 79 20 6f 66 20 74 | 68 65 20 47 4e 55 20 47 |opy of t|he GNU G|
|000004f0| 65 6e 65 72 61 6c 20 50 | 75 62 6c 69 63 20 4c 69 |eneral P|ublic Li|
|00000500| 63 65 6e 73 65 0a 25 20 | 20 20 61 6c 6f 6e 67 20 |cense.% | along |
|00000510| 77 69 74 68 20 74 68 69 | 73 20 70 72 6f 67 72 61 |with thi|s progra|
|00000520| 6d 3b 20 69 66 20 6e 6f | 74 2c 20 77 72 69 74 65 |m; if no|t, write|
|00000530| 20 74 6f 20 74 68 65 20 | 46 72 65 65 20 53 6f 66 | to the |Free Sof|
|00000540| 74 77 61 72 65 0a 25 20 | 20 20 46 6f 75 6e 64 61 |tware.% | Founda|
|00000550| 74 69 6f 6e 2c 20 49 6e | 63 2e 2c 20 36 37 35 20 |tion, In|c., 675 |
|00000560| 4d 61 73 73 20 41 76 65 | 2c 20 43 61 6d 62 72 69 |Mass Ave|, Cambri|
|00000570| 64 67 65 2c 20 4d 41 20 | 30 32 31 33 39 2c 20 55 |dge, MA |02139, U|
|00000580| 53 41 2e 0a 0a 25 20 5c | 66 69 0a 0a 25 20 5c 64 |SA...% \|fi..% \d|
|00000590| 61 74 65 7b 39 35 2f 30 | 31 2f 32 36 7d 0a 25 20 |ate{95/0|1/26}.% |
|000005a0| 5c 61 75 74 68 6f 72 7b | 4d 61 74 74 20 53 77 69 |\author{|Matt Swi|
|000005b0| 66 74 20 5c 74 65 78 74 | 74 74 7b 3c 73 77 69 66 |ft \text|tt{<swif|
|000005c0| 74 40 62 75 2e 65 64 75 | 3e 7d 7d 0a 25 20 5c 74 |t@bu.edu|>}}.% \t|
|000005d0| 69 74 6c 65 7b 54 68 65 | 20 5c 74 65 78 74 74 74 |itle{The| \texttt|
|000005e0| 7b 69 6e 63 6c 75 64 65 | 78 7d 20 70 61 63 6b 61 |{include|x} packa|
|000005f0| 67 65 7d 0a 25 20 5c 6d | 61 6b 65 74 69 74 6c 65 |ge}.% \m|aketitle|
|00000600| 0a 0a 25 20 5c 73 65 63 | 74 69 6f 6e 7b 49 6e 74 |..% \sec|tion{Int|
|00000610| 72 6f 64 75 63 74 69 6f | 6e 7d 0a 25 20 5c 44 65 |roductio|n}.% \De|
|00000620| 73 63 72 69 62 65 4d 61 | 63 72 6f 7b 5c 69 6e 63 |scribeMa|cro{\inc|
|00000630| 6c 75 64 65 2a 7d 0a 25 | 20 7c 5c 69 6e 63 6c 75 |lude*}.%| |\inclu|
|00000640| 64 65 7c 20 77 61 73 20 | 61 6c 77 61 79 73 20 70 |de| was |always p|
|00000650| 72 65 74 74 79 20 75 73 | 65 6c 65 73 73 20 74 6f |retty us|eless to|
|00000660| 20 6d 65 20 62 65 63 61 | 75 73 65 20 69 74 20 64 | me beca|use it d|
|00000670| 69 64 20 61 20 7c 5c 63 | 6c 65 61 72 70 61 67 65 |id a |\c|learpage|
|00000680| 7c 0a 25 20 62 65 66 6f | 72 65 20 61 6e 64 20 61 ||.% befo|re and a|
|00000690| 66 74 65 72 20 74 68 65 | 20 7c 5c 69 6e 70 75 74 |fter the| |\input|
|000006a0| 7c 2e 20 20 54 68 65 20 | 6d 61 63 72 6f 20 7c 5c ||. The |macro |\|
|000006b0| 69 6e 63 6c 75 64 65 2a | 7c 20 69 73 20 64 65 66 |include*|| is def|
|000006c0| 69 6e 65 64 20 62 65 6c | 6f 77 20 74 6f 20 62 65 |ined bel|ow to be|
|000006d0| 0a 25 20 6c 69 6b 65 20 | 7c 5c 69 6e 63 6c 75 64 |.% like ||\includ|
|000006e0| 65 7c 20 62 75 74 20 77 | 69 74 68 6f 75 74 20 74 |e| but w|ithout t|
|000006f0| 68 65 20 7c 5c 63 6c 65 | 61 72 70 61 67 65 7c 73 |he |\cle|arpage|s|
|00000700| 2e 20 0a 0a 25 20 54 68 | 65 20 6f 74 68 65 72 20 |. ..% Th|e other |
|00000710| 74 68 69 6e 67 20 77 65 | 20 64 6f 20 69 73 20 64 |thing we| do is d|
|00000720| 65 66 69 6e 65 20 61 20 | 63 6f 6d 6d 61 6e 64 20 |efine a |command |
|00000730| 7c 5c 69 6e 63 6c 75 64 | 65 64 6f 63 7c 2c 20 77 ||\includ|edoc|, w|
|00000740| 68 69 63 68 20 69 6e 63 | 6c 75 64 65 73 20 61 0a |hich inc|ludes a.|
|00000750| 25 20 66 69 6c 65 20 77 | 68 69 63 68 20 69 73 20 |% file w|hich is |
|00000760| 61 6c 6c 6f 77 65 64 20 | 74 6f 20 68 61 76 65 20 |allowed |to have |
|00000770| 69 74 73 20 6f 77 6e 20 | 7c 5c 64 6f 63 75 6d 65 |its own ||\docume|
|00000780| 6e 74 63 6c 61 73 73 7c | 20 61 6e 64 20 7c 5c 62 |ntclass|| and |\b|
|00000790| 65 67 69 6e 7b 64 6f 63 | 75 6d 65 6e 74 7d 7c 0a |egin{doc|ument}|.|
|000007a0| 25 20 61 6e 64 20 7c 5c | 65 6e 64 7b 64 6f 63 75 |% and |\|end{docu|
|000007b0| 6d 65 6e 74 7d 7c 20 61 | 6e 64 20 7c 5c 75 73 65 |ment}| a|nd |\use|
|000007c0| 70 61 63 6b 61 67 65 7c | 20 63 6f 6d 6d 61 6e 64 |package|| command|
|000007d0| 73 2e 20 20 0a 0a 25 20 | 54 68 69 73 20 6f 70 65 |s. ..% |This ope|
|000007e0| 6e 73 20 75 70 20 61 20 | 77 68 6f 6c 65 20 6e 65 |ns up a |whole ne|
|000007f0| 77 20 77 6f 72 6c 64 20 | 6f 66 20 74 72 75 6c 79 |w world |of truly|
|00000800| 20 6d 6f 64 75 6c 61 72 | 20 5c 4c 61 54 65 58 5c | modular| \LaTeX\|
|00000810| 20 66 69 6c 65 73 2e 20 | 20 54 68 65 72 65 20 69 | files. | There i|
|00000820| 73 0a 25 20 65 76 65 6e | 20 6e 6f 74 68 69 6e 67 |s.% even| nothing|
|00000830| 20 73 70 65 63 69 61 6c | 20 61 62 6f 75 74 20 65 | special| about e|
|00000840| 78 74 72 61 63 74 69 6e | 67 20 74 68 65 20 7c 64 |xtractin|g the |d|
|00000850| 6f 63 75 6d 65 6e 74 7c | 20 65 6e 76 69 72 6f 6e |ocument|| environ|
|00000860| 6d 65 6e 74 2c 20 77 65 | 20 63 61 6e 0a 25 20 65 |ment, we| can.% e|
|00000870| 78 74 72 61 63 74 20 5c | 65 6d 70 68 7b 61 6e 79 |xtract \|emph{any|
|00000880| 7d 20 65 6e 76 69 72 6f | 6e 6d 65 6e 74 2c 20 6f |} enviro|nment, o|
|00000890| 72 20 70 65 72 68 61 70 | 73 20 65 76 65 6e 20 6f |r perhap|s even o|
|000008a0| 74 68 65 72 20 74 68 69 | 6e 67 73 2e 0a 0a 25 20 |ther thi|ngs...% |
|000008b0| 54 68 65 72 65 20 61 72 | 65 20 73 6f 6d 65 20 70 |There ar|e some p|
|000008c0| 72 6f 62 6c 65 6d 73 2c | 20 68 6f 77 65 76 65 72 |roblems,| however|
|000008d0| 2e 20 20 4d 61 79 62 65 | 20 74 68 65 20 7c 5c 75 |. Maybe| the |\u|
|000008e0| 73 65 70 61 63 6b 61 67 | 65 7c 20 69 73 20 6e 65 |sepackag|e| is ne|
|000008f0| 63 65 73 73 61 72 79 2c | 0a 25 20 6d 61 79 62 65 |cessary,|.% maybe|
|00000900| 20 69 74 20 77 6f 75 6c | 64 20 63 6f 6e 66 6c 69 | it woul|d confli|
|00000910| 63 74 2e 20 20 53 61 6d | 65 20 77 69 74 68 20 6f |ct. Sam|e with o|
|00000920| 74 68 65 72 20 63 6f 6d | 6d 61 6e 64 73 20 6c 69 |ther com|mands li|
|00000930| 6b 65 20 74 68 65 20 7c | 5c 6e 65 77 63 6f 6d 6d |ke the ||\newcomm|
|00000940| 61 6e 64 7c 0a 25 20 66 | 61 6d 69 6c 79 2e 20 49 |and|.% f|amily. I|
|00000950| 74 20 69 73 20 73 69 6d | 70 6c 79 20 6e 6f 74 20 |t is sim|ply not |
|00000960| 28 79 65 74 29 20 61 6e | 20 69 73 73 75 65 20 69 |(yet) an| issue i|
|00000970| 6e 20 5c 4c 61 54 65 58 | 5c 20 64 65 73 69 67 6e |n \LaTeX|\ design|
|00000980| 20 74 6f 20 63 6f 6e 73 | 69 64 65 72 20 74 68 65 | to cons|ider the|
|00000990| 0a 25 20 69 6d 70 6c 69 | 63 61 74 69 6f 6e 73 20 |.% impli|cations |
|000009a0| 6f 66 20 70 61 72 65 6e | 74 20 66 69 6c 65 73 2e |of paren|t files.|
|000009b0| 20 20 54 68 65 20 70 72 | 6f 62 6c 65 6d 73 20 61 | The pr|oblems a|
|000009c0| 72 65 20 6e 6f 74 20 69 | 6e 73 75 72 6d 6f 75 6e |re not i|nsurmoun|
|000009d0| 74 61 62 6c 65 2e 20 20 | 57 65 20 63 61 6e 0a 25 |table. |We can.%|
|000009e0| 20 62 65 67 69 6e 20 62 | 79 20 77 6f 72 6b 69 6e | begin b|y workin|
|000009f0| 67 20 77 69 74 68 20 61 | 20 63 6f 6e 76 65 6e 74 |g with a| convent|
|00000a00| 69 6f 6e 2c 20 61 6e 64 | 20 75 6c 74 69 6d 61 74 |ion, and| ultimat|
|00000a10| 65 6c 79 20 6d 61 79 62 | 65 20 6d 61 6b 65 20 73 |ely mayb|e make s|
|00000a20| 6f 6d 65 20 63 68 61 6e | 67 65 73 20 69 6e 0a 25 |ome chan|ges in.%|
|00000a30| 20 63 65 72 74 61 69 6e | 20 6d 61 63 72 6f 73 2e | certain| macros.|
|00000a40| 20 20 49 20 77 69 6c 6c | 20 62 65 20 67 65 74 74 | I will| be gett|
|00000a50| 69 6e 67 20 74 6f 20 61 | 6c 6c 20 74 68 69 73 2e |ing to a|ll this.|
|00000a60| 20 20 49 20 61 64 6d 69 | 74 20 49 20 68 61 76 65 | I admi|t I have|
|00000a70| 20 6e 6f 74 20 6c 6f 6f | 6b 65 64 0a 25 20 63 61 | not loo|ked.% ca|
|00000a80| 72 65 66 75 6c 6c 79 20 | 74 6f 20 73 65 65 20 77 |refully |to see w|
|00000a90| 68 65 74 68 65 72 20 74 | 68 65 20 64 65 73 69 67 |hether t|he desig|
|00000aa0| 6e 20 73 70 65 63 69 66 | 69 63 61 74 69 6f 6e 73 |n specif|ications|
|00000ab0| 20 6f 66 20 5c 4c 61 54 | 65 58 33 5c 20 61 64 64 | of \LaT|eX3\ add|
|00000ac0| 72 65 73 73 20 74 68 65 | 73 65 0a 25 20 69 6d 70 |ress the|se.% imp|
|00000ad0| 6f 72 74 61 6e 74 20 69 | 73 73 75 65 73 2e 20 0a |ortant i|ssues. .|
|00000ae0| 0a 25 20 54 68 65 20 6d | 61 63 72 6f 73 20 68 65 |.% The m|acros he|
|00000af0| 72 65 20 77 69 6c 6c 20 | 62 65 20 75 73 65 66 75 |re will |be usefu|
|00000b00| 6c 20 69 6e 20 6d 61 6e | 79 20 63 69 72 63 75 6d |l in man|y circum|
|00000b10| 73 74 61 6e 63 65 73 2c | 20 77 68 65 6e 20 74 68 |stances,| when th|
|00000b20| 65 20 69 6e 63 6c 75 64 | 65 64 20 66 69 6c 65 73 |e includ|ed files|
|00000b30| 0a 25 20 61 72 65 20 74 | 68 65 6d 73 65 6c 76 65 |.% are t|hemselve|
|00000b40| 73 20 73 69 6d 70 6c 65 | 2e 20 20 0a 0a 25 20 5c |s simple|. ..% \|
|00000b50| 44 65 73 63 72 69 62 65 | 4d 61 63 72 6f 7b 5c 69 |Describe|Macro{\i|
|00000b60| 6e 63 6c 75 64 65 64 6f | 63 7d 0a 25 20 5c 44 65 |ncludedo|c}.% \De|
|00000b70| 73 63 72 69 62 65 4d 61 | 63 72 6f 7b 5c 69 6e 63 |scribeMa|cro{\inc|
|00000b80| 6c 75 64 65 64 6f 63 2a | 7d 0a 25 20 5c 44 65 73 |ludedoc*|}.% \Des|
|00000b90| 63 72 69 62 65 4d 61 63 | 72 6f 7b 5c 69 6e 63 6c |cribeMac|ro{\incl|
|00000ba0| 75 64 65 64 6f 63 73 6b | 69 70 7d 0a 25 20 5c 44 |udedocsk|ip}.% \D|
|00000bb0| 65 73 63 72 69 62 65 4d | 61 63 72 6f 7b 5c 69 6e |escribeM|acro{\in|
|00000bc0| 63 6c 75 64 65 64 6f 63 | 73 6b 69 70 2a 7d 0a 25 |cludedoc|skip*}.%|
|00000bd0| 20 54 68 65 72 65 20 61 | 72 65 20 6e 6f 77 20 74 | There a|re now t|
|00000be0| 77 6f 20 6d 61 69 6e 20 | 63 6f 6d 6d 61 6e 64 73 |wo main |commands|
|00000bf0| 2c 20 7c 5c 69 6e 63 6c | 75 64 65 64 6f 63 7c 20 |, |\incl|udedoc| |
|00000c00| 61 6e 64 20 7c 69 6e 63 | 6c 75 64 65 64 6f 63 73 |and |inc|ludedocs|
|00000c10| 6b 69 70 7c 2c 20 65 61 | 63 68 0a 25 20 77 69 74 |kip|, ea|ch.% wit|
|00000c20| 68 20 61 20 7c 2a 7c 20 | 76 65 72 73 69 6f 6e 20 |h a |*| |version |
|00000c30| 61 6e 61 6c 6f 67 6f 75 | 73 20 74 6f 20 74 68 65 |analogou|s to the|
|00000c40| 20 6e 65 77 20 7c 5c 69 | 6e 63 6c 75 64 65 2a 7c | new |\i|nclude*||
|00000c50| 2e 20 20 45 61 63 68 20 | 74 61 6b 65 20 61 20 66 |. Each |take a f|
|00000c60| 69 6c 65 6e 61 6d 65 20 | 61 73 0a 25 20 61 6e 20 |ilename |as.% an |
|00000c70| 61 72 67 75 6d 65 6e 74 | 20 6a 75 73 74 20 6c 69 |argument| just li|
|00000c80| 6b 65 20 7c 5c 69 6e 63 | 6c 75 64 65 7c 2e 20 0a |ke |\inc|lude|. .|
|00000c90| 0a 25 20 7c 5c 69 6e 63 | 6c 75 64 65 64 6f 63 7c |.% |\inc|ludedoc||
|00000ca0| 5c 6d 61 72 67 7b 66 69 | 6c 65 6e 61 6d 65 7d 20 |\marg{fi|lename} |
|00000cb0| 72 65 61 64 73 20 65 76 | 65 72 79 74 68 69 6e 67 |reads ev|erything|
|00000cc0| 20 69 6e 20 74 68 65 20 | 66 69 6c 65 20 65 78 63 | in the |file exc|
|00000cd0| 65 70 74 20 66 6f 72 0a | 25 20 7c 5c 64 6f 63 75 |ept for.|% |\docu|
|00000ce0| 6d 65 6e 74 63 6c 61 73 | 73 7c 2c 20 7c 5c 75 73 |mentclas|s|, |\us|
|00000cf0| 65 70 61 63 6b 61 67 65 | 7c 2c 20 7c 5c 62 65 67 |epackage||, |\beg|
|00000d00| 69 6e 7b 64 6f 63 75 6d | 65 6e 74 7d 7c 2c 20 7c |in{docum|ent}|, ||
|00000d10| 5c 65 6e 64 7b 64 6f 63 | 75 6d 65 6e 74 7d 7c 20 |\end{doc|ument}| |
|00000d20| 28 61 6e 64 0a 25 20 77 | 68 61 74 65 76 65 72 20 |(and.% w|hatever |
|00000d30| 66 6f 6c 6c 6f 77 73 20 | 69 74 29 2e 20 20 0a 0a |follows |it). ..|
|00000d40| 25 20 7c 69 6e 63 6c 75 | 64 65 64 6f 63 73 6b 69 |% |inclu|dedocski|
|00000d50| 70 7c 5c 6d 61 72 67 7b | 66 69 6c 65 6e 61 6d 65 |p|\marg{|filename|
|00000d60| 7d 20 64 6f 65 73 20 74 | 68 65 20 73 61 6d 65 20 |} does t|he same |
|00000d70| 65 78 63 65 70 74 20 69 | 74 20 61 6c 73 6f 20 73 |except i|t also s|
|00000d80| 6b 69 70 73 20 65 76 65 | 72 79 74 68 69 6e 67 0a |kips eve|rything.|
|00000d90| 25 20 62 65 74 77 65 65 | 6e 20 7c 5c 64 6f 63 75 |% betwee|n |\docu|
|00000da0| 6d 65 6e 74 63 6c 61 73 | 73 7c 20 61 6e 64 20 7c |mentclas|s| and ||
|00000db0| 5c 62 65 67 69 6e 7b 64 | 6f 63 75 6d 65 6e 74 7d |\begin{d|ocument}|
|00000dc0| 7c 2e 0a 0a 25 20 5c 44 | 65 73 63 72 69 62 65 4d ||...% \D|escribeM|
|00000dd0| 61 63 72 6f 7b 5c 67 6f | 62 62 6c 65 6f 70 74 7d |acro{\go|bbleopt}|
|00000de0| 0a 25 20 5c 44 65 73 63 | 72 69 62 65 4d 61 63 72 |.% \Desc|ribeMacr|
|00000df0| 6f 7b 5c 67 6f 62 62 6c | 65 7d 0a 25 20 5c 44 65 |o{\gobbl|e}.% \De|
|00000e00| 73 63 72 69 62 65 4d 61 | 63 72 6f 7b 5c 67 6f 62 |scribeMa|cro{\gob|
|00000e10| 62 6c 65 74 77 6f 7d 0a | 25 20 5c 44 65 73 63 72 |bletwo}.|% \Descr|
|00000e20| 69 62 65 4d 61 63 72 6f | 7b 5c 64 69 73 61 62 6c |ibeMacro|{\disabl|
|00000e30| 65 7d 0a 25 20 41 74 20 | 70 72 65 73 65 6e 74 20 |e}.% At |present |
|00000e40| 74 68 65 72 65 20 69 73 | 20 61 20 6d 61 6b 65 73 |there is| a makes|
|00000e50| 68 69 66 74 20 77 61 79 | 20 74 6f 20 69 67 6e 6f |hift way| to igno|
|00000e60| 72 65 20 61 64 64 69 74 | 69 6f 6e 61 6c 20 63 6f |re addit|ional co|
|00000e70| 6d 6d 61 6e 64 73 20 77 | 68 65 6e 20 75 73 69 6e |mmands w|hen usin|
|00000e80| 67 0a 25 20 7c 5c 69 6e | 63 6c 75 64 65 64 6f 63 |g.% |\in|cludedoc|
|00000e90| 7c 20 61 6e 64 20 7c 5c | 69 6e 63 6c 75 64 65 64 || and |\|included|
|00000ea0| 6f 63 73 6b 69 70 7c 2e | 20 49 66 20 79 6f 75 20 |ocskip|.| If you |
|00000eb0| 77 61 6e 74 20 74 6f 20 | 63 61 75 73 65 20 7c 5c |want to |cause |\|
|00000ec0| 66 6f 6f 7c 20 77 68 69 | 63 68 20 74 61 6b 65 73 |foo| whi|ch takes|
|00000ed0| 0a 25 20 6e 6f 20 61 72 | 67 75 6d 65 6e 74 73 20 |.% no ar|guments |
|00000ee0| 74 6f 20 62 65 20 64 69 | 73 61 62 6c 65 64 2c 20 |to be di|sabled, |
|00000ef0| 73 61 79 20 7c 5c 64 69 | 73 61 62 6c 65 7b 5c 6c |say |\di|sable{\l|
|00000f00| 65 74 5c 66 6f 6f 5c 72 | 65 6c 61 78 7d 7c 2e 20 |et\foo\r|elax}|. |
|00000f10| 49 66 20 7c 5c 66 6f 6f | 7c 20 74 61 6b 65 73 0a |If |\foo|| takes.|
|00000f20| 25 20 6f 6e 65 20 6d 61 | 6e 64 61 74 6f 72 79 20 |% one ma|ndatory |
|00000f30| 61 72 67 75 6d 65 6e 74 | 2c 20 73 61 79 20 7c 5c |argument|, say |\|
|00000f40| 6c 65 74 5c 66 6f 6f 5c | 67 6f 62 62 6c 65 7c 20 |let\foo\|gobble| |
|00000f50| 69 6e 73 74 65 61 64 2e | 20 20 49 66 20 7c 5c 66 |instead.| If |\f|
|00000f60| 6f 6f 7c 20 74 61 6b 65 | 73 20 6f 6e 65 0a 25 20 |oo| take|s one.% |
|00000f70| 6f 70 74 69 6f 6e 61 6c | 20 61 6e 64 20 6f 6e 65 |optional| and one|
|00000f80| 20 6d 61 6e 64 61 74 6f | 72 79 2c 20 73 61 79 20 | mandato|ry, say |
|00000f90| 7c 5c 6c 65 74 5c 66 6f | 6f 5c 67 6f 62 62 6c 65 ||\let\fo|o\gobble|
|00000fa0| 6f 70 74 7c 2e 20 20 49 | 66 20 7c 5c 66 6f 6f 7c |opt|. I|f |\foo||
|00000fb0| 20 74 61 6b 65 73 20 74 | 77 6f 0a 25 20 6d 61 6e | takes t|wo.% man|
|00000fc0| 64 61 74 6f 72 79 20 61 | 72 67 75 6d 65 6e 74 73 |datory a|rguments|
|00000fd0| 2c 20 73 61 79 20 7c 5c | 6c 65 74 5c 66 6f 6f 5c |, say |\|let\foo\|
|00000fe0| 67 6f 62 62 6c 65 74 77 | 6f 7c 2e 20 20 46 6f 72 |gobbletw|o|. For|
|00000ff0| 20 6f 74 68 65 72 20 70 | 65 72 6d 75 74 61 74 69 | other p|ermutati|
|00001000| 6f 6e 73 20 6f 66 0a 25 | 20 61 72 67 75 6d 65 6e |ons of.%| argumen|
|00001010| 74 73 2c 20 79 6f 75 20 | 63 61 6e 20 65 78 74 72 |ts, you |can extr|
|00001020| 61 70 6f 6c 61 74 65 20 | 66 72 6f 6d 20 74 68 65 |apolate |from the|
|00001030| 20 6d 61 63 72 6f 73 20 | 64 65 66 69 6e 65 64 20 | macros |defined |
|00001040| 62 65 6c 6f 77 2e 20 0a | 0a 25 20 5c 73 65 63 74 |below. .|.% \sect|
|00001050| 69 6f 6e 7b 49 6d 70 6c | 65 6d 65 6e 74 61 74 69 |ion{Impl|ementati|
|00001060| 6f 6e 7d 0a 0a 25 20 5c | 53 74 6f 70 45 76 65 6e |on}..% \|StopEven|
|00001070| 74 75 61 6c 6c 79 7b 7d | 0a 0a 25 20 20 20 20 5c |tually{}|..% \|
|00001080| 62 65 67 69 6e 7b 6d 61 | 63 72 6f 63 6f 64 65 7d |begin{ma|crocode}|
|00001090| 0a 5c 4e 65 65 64 73 54 | 65 58 46 6f 72 6d 61 74 |.\NeedsT|eXFormat|
|000010a0| 7b 4c 61 54 65 58 32 65 | 7d 0a 5c 50 72 6f 76 69 |{LaTeX2e|}.\Provi|
|000010b0| 64 65 73 50 61 63 6b 61 | 67 65 7b 69 6e 63 6c 75 |desPacka|ge{inclu|
|000010c0| 64 65 78 7d 5b 31 39 39 | 35 2f 30 31 2f 32 36 20 |dex}[199|5/01/26 |
|000010d0| 76 31 2e 30 20 69 6e 63 | 6c 75 64 61 74 69 6f 6e |v1.0 inc|ludation|
|000010e0| 20 65 78 74 65 6e 73 69 | 6f 6e 73 5d 0a 5c 52 65 | extensi|ons].\Re|
|000010f0| 71 75 69 72 65 50 61 63 | 6b 61 67 65 7b 69 66 74 |quirePac|kage{ift|
|00001100| 68 65 6e 7d 0a 25 20 5c | 52 65 71 75 69 72 65 50 |hen}.% \|RequireP|
|00001110| 61 63 6b 61 67 65 7b 76 | 65 72 62 61 74 69 6d 7d |ackage{v|erbatim}|
|00001120| 0a 25 20 20 20 20 5c 65 | 6e 64 7b 6d 61 63 72 6f |.% \e|nd{macro|
|00001130| 63 6f 64 65 7d 0a 0a 25 | 20 5c 62 65 67 69 6e 7b |code}..%| \begin{|
|00001140| 6d 61 63 72 6f 7d 7b 5c | 6e 65 77 6c 65 74 7d 0a |macro}{\|newlet}.|
|00001150| 25 20 54 68 69 73 20 68 | 65 6c 70 73 20 61 76 6f |% This h|elps avo|
|00001160| 69 64 20 63 6f 6c 6c 69 | 73 69 6f 6e 73 2e 0a 25 |id colli|sions..%|
|00001170| 20 20 20 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f | \beg|in{macro|
|00001180| 63 6f 64 65 7d 0a 5c 6e | 65 77 63 6f 6d 6d 61 6e |code}.\n|ewcomman|
|00001190| 64 5c 6e 65 77 6c 65 74 | 5b 32 5d 0a 20 20 7b 5c |d\newlet|[2]. {\|
|000011a0| 40 69 66 64 65 66 69 6e | 61 62 6c 65 20 23 31 0a |@ifdefin|able #1.|
|000011b0| 20 20 20 20 20 20 7b 5c | 6c 65 74 23 31 23 32 7d | {\|let#1#2}|
|000011c0| 7d 0a 25 20 20 20 20 5c | 65 6e 64 7b 6d 61 63 72 |}.% \|end{macr|
|000011d0| 6f 63 6f 64 65 7d 0a 25 | 20 5c 65 6e 64 7b 6d 61 |ocode}.%| \end{ma|
|000011e0| 63 72 6f 7d 0a 0a 25 20 | 5c 62 65 67 69 6e 7b 6d |cro}..% |\begin{m|
|000011f0| 61 63 72 6f 7d 7b 5c 61 | 64 64 74 6f 40 6d 61 63 |acro}{\a|ddto@mac|
|00001200| 72 6f 7d 0a 25 20 5c 62 | 65 67 69 6e 7b 6d 61 63 |ro}.% \b|egin{mac|
|00001210| 72 6f 7d 7b 5c 6e 65 77 | 74 6f 6b 65 6e 73 7d 0a |ro}{\new|tokens}.|
|00001220| 25 20 5c 62 65 67 69 6e | 7b 6d 61 63 72 6f 7d 7b |% \begin|{macro}{|
|00001230| 5c 73 63 40 74 6f 6b 73 | 40 61 7d 0a 25 20 54 68 |\sc@toks|@a}.% Th|
|00001240| 65 73 65 20 68 65 6c 70 | 20 75 73 20 62 75 69 6c |ese help| us buil|
|00001250| 64 20 75 70 20 6d 61 63 | 72 6f 73 20 66 72 6f 6d |d up mac|ros from|
|00001260| 20 70 69 65 63 65 73 2e | 20 20 20 7c 5c 6e 65 77 | pieces.| |\new|
|00001270| 74 6f 6b 65 6e 73 7c 20 | 73 68 6f 75 6c 64 20 62 |tokens| |should b|
|00001280| 65 20 7c 5c 6f 75 74 65 | 72 7c 0a 25 20 62 75 74 |e |\oute|r|.% but|
|00001290| 20 66 6f 72 20 74 68 65 | 20 6d 6f 6d 65 6e 74 20 | for the| moment |
|000012a0| 74 68 61 74 27 73 20 61 | 20 70 61 69 6e 20 62 65 |that's a| pain be|
|000012b0| 63 61 75 73 65 20 74 68 | 65 20 73 63 68 6f 6c 61 |cause th|e schola|
|000012c0| 72 20 70 61 63 6b 61 67 | 65 20 69 73 20 69 6e 20 |r packag|e is in |
|000012d0| 70 69 65 63 65 73 2c 0a | 25 20 61 6e 64 20 79 6f |pieces,.|% and yo|
|000012e0| 75 20 77 61 6e 74 20 74 | 6f 20 62 65 20 61 62 6c |u want t|o be abl|
|000012f0| 65 20 74 6f 20 6c 6f 61 | 64 20 6d 6f 72 65 20 74 |e to loa|d more t|
|00001300| 68 61 6e 20 6f 6e 65 20 | 70 69 65 63 65 2e 0a 25 |han one |piece..%|
|00001310| 20 20 20 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f | \beg|in{macro|
|00001320| 63 6f 64 65 7d 0a 5c 40 | 69 66 75 6e 64 65 66 69 |code}.\@|ifundefi|
|00001330| 6e 65 64 7b 6e 65 77 74 | 6f 6b 65 6e 73 7d 0a 20 |ned{newt|okens}. |
|00001340| 20 20 20 7b 5c 64 65 66 | 5c 6e 65 77 74 6f 6b 65 | {\def|\newtoke|
|00001350| 6e 73 23 31 25 0a 20 20 | 20 20 20 20 7b 5c 40 69 |ns#1%. | {\@i|
|00001360| 66 64 65 66 69 6e 61 62 | 6c 65 20 23 31 0a 20 20 |fdefinab|le #1. |
|00001370| 20 20 20 20 7b 5c 63 73 | 6e 61 6d 65 20 6e 65 77 | {\cs|name new|
|00001380| 74 6f 6b 73 5c 65 6e 64 | 63 73 6e 61 6d 65 23 31 |toks\end|csname#1|
|00001390| 7d 7d 7d 0a 20 20 7b 7d | 0a 0a 5c 40 69 66 75 6e |}}}. {}|..\@ifun|
|000013a0| 64 65 66 69 6e 65 64 7b | 73 63 40 74 6f 6b 73 40 |defined{|sc@toks@|
|000013b0| 61 7d 0a 20 20 20 20 7b | 5c 6e 65 77 74 6f 6b 65 |a}. {|\newtoke|
|000013c0| 6e 73 5c 73 63 40 74 6f | 6b 73 40 61 7d 0a 20 20 |ns\sc@to|ks@a}. |
|000013d0| 7b 7d 0a 0a 5c 6e 65 77 | 63 6f 6d 6d 61 6e 64 5c |{}..\new|command\|
|000013e0| 61 64 64 74 6f 40 6d 61 | 63 72 6f 5b 32 5d 0a 20 |addto@ma|cro[2]. |
|000013f0| 20 7b 5c 73 63 40 74 6f | 6b 73 40 61 3d 5c 65 78 | {\sc@to|ks@a=\ex|
|00001400| 70 61 6e 64 61 66 74 65 | 72 7b 23 31 23 32 7d 25 |pandafte|r{#1#2}%|
|00001410| 0a 20 20 5c 65 64 65 66 | 23 31 7b 5c 74 68 65 5c |. \edef|#1{\the\|
|00001420| 73 63 40 74 6f 6b 73 40 | 61 7d 7d 0a 25 20 20 20 |sc@toks@|a}}.% |
|00001430| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 63 6f 64 65 7d | \end{ma|crocode}|
|00001440| 0a 25 20 5c 65 6e 64 7b | 6d 61 63 72 6f 7d 0a 25 |.% \end{|macro}.%|
|00001450| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 7d 0a 25 20 5c | \end{ma|cro}.% \|
|00001460| 65 6e 64 7b 6d 61 63 72 | 6f 7d 0a 0a 25 20 5c 62 |end{macr|o}..% \b|
|00001470| 65 67 69 6e 7b 6d 61 63 | 72 6f 7d 7b 5c 44 69 73 |egin{mac|ro}{\Dis|
|00001480| 61 62 6c 65 53 63 68 6f | 6c 61 72 7d 0a 25 20 54 |ableScho|lar}.% T|
|00001490| 68 69 73 20 61 6c 6c 6f | 77 73 20 74 68 65 20 64 |his allo|ws the d|
|000014a0| 69 73 61 62 6c 69 6e 67 | 20 68 61 63 6b 73 2e 0a |isabling| hacks..|
|000014b0| 25 20 20 20 20 5c 62 65 | 67 69 6e 7b 6d 61 63 72 |% \be|gin{macr|
|000014c0| 6f 63 6f 64 65 7d 0a 5c | 6e 65 77 63 6f 6d 6d 61 |ocode}.\|newcomma|
|000014d0| 6e 64 5c 44 69 73 61 62 | 6c 65 53 63 68 6f 6c 61 |nd\Disab|leSchola|
|000014e0| 72 7b 7d 0a 5c 6e 65 77 | 63 6f 6d 6d 61 6e 64 5c |r{}.\new|command\|
|000014f0| 64 69 73 61 62 6c 65 5b | 31 5d 0a 20 20 7b 5c 67 |disable[|1]. {\g|
|00001500| 40 61 64 64 74 6f 40 6d | 61 63 72 6f 5c 44 69 73 |@addto@m|acro\Dis|
|00001510| 61 62 6c 65 53 63 68 6f | 6c 61 72 7b 23 31 7d 7d |ableScho|lar{#1}}|
|00001520| 0a 25 20 20 20 20 5c 65 | 6e 64 7b 6d 61 63 72 6f |.% \e|nd{macro|
|00001530| 63 6f 64 65 7d 0a 25 20 | 5c 65 6e 64 7b 6d 61 63 |code}.% |\end{mac|
|00001540| 72 6f 7d 0a 0a 25 20 5c | 62 65 67 69 6e 7b 6d 61 |ro}..% \|begin{ma|
|00001550| 63 72 6f 7d 7b 5c 73 63 | 40 73 61 76 65 64 40 69 |cro}{\sc|@saved@i|
|00001560| 6e 63 6c 75 64 65 7d 0a | 25 20 5c 62 65 67 69 6e |nclude}.|% \begin|
|00001570| 7b 6d 61 63 72 6f 7d 7b | 5c 69 6e 63 6c 75 64 65 |{macro}{|\include|
|00001580| 7d 0a 25 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f |}.% \beg|in{macro|
|00001590| 7d 7b 5c 73 63 40 69 6e | 63 6c 75 64 65 7d 0a 25 |}{\sc@in|clude}.%|
|000015a0| 20 5c 62 65 67 69 6e 7b | 6d 61 63 72 6f 7d 7b 5c | \begin{|macro}{\|
|000015b0| 73 63 40 40 69 6e 63 6c | 75 64 65 7d 0a 25 20 54 |sc@@incl|ude}.% T|
|000015c0| 68 69 73 20 69 73 20 61 | 20 73 69 6d 70 6c 65 20 |his is a| simple |
|000015d0| 72 65 64 65 66 69 6e 69 | 74 69 6f 6e 20 6f 66 20 |redefini|tion of |
|000015e0| 7c 5c 69 6e 63 6c 75 64 | 65 7c 20 77 69 74 68 6f ||\includ|e| witho|
|000015f0| 75 74 20 74 68 65 20 7c | 5c 63 6c 65 61 72 70 61 |ut the ||\clearpa|
|00001600| 67 65 7c 0a 25 20 63 6f | 6d 6d 61 6e 64 73 2e 20 |ge|.% co|mmands. |
|00001610| 20 4e 6f 74 68 69 6e 67 | 20 74 72 69 63 6b 79 20 | Nothing| tricky |
|00001620| 67 6f 69 6e 67 20 6f 6e | 2e 20 0a 25 20 20 20 20 |going on|. .% |
|00001630| 5c 62 65 67 69 6e 7b 6d | 61 63 72 6f 63 6f 64 65 |\begin{m|acrocode|
|00001640| 7d 0a 5c 6e 65 77 6c 65 | 74 5c 73 63 40 73 61 76 |}.\newle|t\sc@sav|
|00001650| 65 64 40 69 6e 63 6c 75 | 64 65 5c 69 6e 63 6c 75 |ed@inclu|de\inclu|
|00001660| 64 65 0a 5c 72 65 6e 65 | 77 63 6f 6d 6d 61 6e 64 |de.\rene|wcommand|
|00001670| 5c 69 6e 63 6c 75 64 65 | 0a 20 20 7b 5c 40 69 66 |\include|. {\@if|
|00001680| 73 74 61 72 0a 20 20 20 | 20 20 20 5c 73 63 40 69 |star. | \sc@i|
|00001690| 6e 63 6c 75 64 65 0a 20 | 20 20 20 5c 73 63 40 73 |nclude. | \sc@s|
|000016a0| 61 76 65 64 40 69 6e 63 | 6c 75 64 65 7d 0a 0a 5c |aved@inc|lude}..\|
|000016b0| 6e 65 77 63 6f 6d 6d 61 | 6e 64 5c 73 63 40 69 6e |newcomma|nd\sc@in|
|000016c0| 63 6c 75 64 65 0a 20 20 | 7b 5c 72 65 6c 61 78 0a |clude. |{\relax.|
|000016d0| 20 20 5c 69 66 74 68 65 | 6e 65 6c 73 65 7b 5c 40 | \ifthe|nelse{\@|
|000016e0| 61 75 78 6f 75 74 20 3d | 20 5c 40 70 61 72 74 61 |auxout =| \@parta|
|000016f0| 75 78 7d 0a 20 20 20 20 | 20 20 7b 5c 40 6c 61 74 |ux}. | {\@lat|
|00001700| 65 78 40 65 72 72 6f 72 | 7b 5c 73 74 72 69 6e 67 |ex@error|{\string|
|00001710| 5c 69 6e 63 6c 75 64 65 | 5c 73 70 61 63 65 20 63 |\include|\space c|
|00001720| 61 6e 6e 6f 74 20 62 65 | 20 6e 65 73 74 65 64 7d |annot be| nested}|
|00001730| 5c 40 65 68 61 7d 0a 20 | 20 20 20 7b 5c 73 63 40 |\@eha}. | {\sc@|
|00001740| 40 69 6e 63 6c 75 64 65 | 7d 7d 0a 0a 5c 6e 65 77 |@include|}}..\new|
|00001750| 63 6f 6d 6d 61 6e 64 5c | 73 63 40 40 69 6e 63 6c |command\|sc@@incl|
|00001760| 75 64 65 5b 31 5d 0a 20 | 20 7b 5c 69 66 40 66 69 |ude[1]. | {\if@fi|
|00001770| 6c 65 73 77 0a 20 20 20 | 20 5c 69 6d 6d 65 64 69 |lesw. | \immedi|
|00001780| 61 74 65 5c 77 72 69 74 | 65 5c 40 6d 61 69 6e 61 |ate\writ|e\@maina|
|00001790| 75 78 7b 5c 73 74 72 69 | 6e 67 5c 40 69 6e 70 75 |ux{\stri|ng\@inpu|
|000017a0| 74 7b 23 31 2e 61 75 78 | 7d 7d 25 0a 20 20 5c 66 |t{#1.aux|}}%. \f|
|000017b0| 69 0a 20 20 5c 40 74 65 | 6d 70 73 77 61 74 72 75 |i. \@te|mpswatru|
|000017c0| 65 0a 20 20 5c 69 66 40 | 70 61 72 74 73 77 20 0a |e. \if@|partsw .|
|000017d0| 20 20 20 20 5c 40 74 65 | 6d 70 73 77 61 66 61 6c | \@te|mpswafal|
|000017e0| 73 65 0a 20 20 20 20 5c | 65 64 65 66 5c 40 74 65 |se. \|edef\@te|
|000017f0| 6d 70 62 7b 23 31 7d 25 | 0a 20 20 20 20 5c 40 66 |mpb{#1}%|. \@f|
|00001800| 6f 72 20 5c 40 74 65 6d | 70 61 3a 3d 5c 40 70 61 |or \@tem|pa:=\@pa|
|00001810| 72 74 6c 69 73 74 0a 20 | 20 20 20 20 20 5c 64 6f |rtlist. | \do|
|00001820| 7b 5c 69 66 78 5c 40 74 | 65 6d 70 61 0a 20 20 20 |{\ifx\@t|empa. |
|00001830| 20 20 20 20 20 20 20 20 | 20 5c 40 74 65 6d 70 62 | | \@tempb|
|00001840| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 5c 40 74 |. | \@t|
|00001850| 65 6d 70 73 77 61 74 72 | 75 65 0a 20 20 20 20 20 |empswatr|ue. |
|00001860| 20 20 20 20 20 5c 66 69 | 7d 25 0a 20 20 5c 66 69 | \fi|}%. \fi|
|00001870| 0a 20 20 5c 69 66 40 74 | 65 6d 70 73 77 61 20 0a |. \if@t|empswa .|
|00001880| 20 20 20 20 5c 6c 65 74 | 5c 40 61 75 78 6f 75 74 | \let|\@auxout|
|00001890| 5c 40 70 61 72 74 61 75 | 78 20 0a 20 20 20 20 5c |\@partau|x . \|
|000018a0| 69 66 40 66 69 6c 65 73 | 77 0a 20 20 20 20 20 20 |if@files|w. |
|000018b0| 5c 69 6d 6d 65 64 69 61 | 74 65 5c 6f 70 65 6e 6f |\immedia|te\openo|
|000018c0| 75 74 5c 40 70 61 72 74 | 61 75 78 20 23 31 2e 61 |ut\@part|aux #1.a|
|000018d0| 75 78 25 0a 20 20 20 20 | 20 20 5c 69 6d 6d 65 64 |ux%. | \immed|
|000018e0| 69 61 74 65 5c 77 72 69 | 74 65 5c 40 70 61 72 74 |iate\wri|te\@part|
|000018f0| 61 75 78 7b 5c 72 65 6c | 61 78 7d 25 0a 20 20 20 |aux{\rel|ax}%. |
|00001900| 20 5c 66 69 0a 20 20 20 | 20 5c 40 69 6e 70 75 74 | \fi. | \@input|
|00001910| 40 7b 23 31 2e 74 65 78 | 7d 25 0a 20 20 20 20 5c |@{#1.tex|}%. \|
|00001920| 40 77 72 69 74 65 63 6b | 70 74 7b 23 31 7d 25 0a |@writeck|pt{#1}%.|
|00001930| 20 20 20 20 5c 69 66 40 | 66 69 6c 65 73 77 0a 20 | \if@|filesw. |
|00001940| 20 20 20 20 20 5c 69 6d | 6d 65 64 69 61 74 65 5c | \im|mediate\|
|00001950| 63 6c 6f 73 65 6f 75 74 | 5c 40 70 61 72 74 61 75 |closeout|\@partau|
|00001960| 78 20 0a 20 20 20 20 5c | 66 69 0a 20 20 5c 65 6c |x . \|fi. \el|
|00001970| 73 65 0a 20 20 20 20 5c | 40 6e 61 6d 65 75 73 65 |se. \|@nameuse|
|00001980| 7b 63 70 40 23 31 7d 25 | 0a 20 20 5c 66 69 0a 20 |{cp@#1}%|. \fi. |
|00001990| 20 5c 6c 65 74 5c 40 61 | 75 78 6f 75 74 5c 40 6d | \let\@a|uxout\@m|
|000019a0| 61 69 6e 61 75 78 7d 0a | 25 20 20 20 20 5c 65 6e |ainaux}.|% \en|
|000019b0| 64 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 25 20 5c |d{macroc|ode}.% \|
|000019c0| 65 6e 64 7b 6d 61 63 72 | 6f 7d 0a 25 20 5c 65 6e |end{macr|o}.% \en|
|000019d0| 64 7b 6d 61 63 72 6f 7d | 0a 25 20 5c 65 6e 64 7b |d{macro}|.% \end{|
|000019e0| 6d 61 63 72 6f 7d 0a 25 | 20 5c 65 6e 64 7b 6d 61 |macro}.%| \end{ma|
|000019f0| 63 72 6f 7d 0a 0a 25 20 | 4e 6f 77 20 77 65 20 73 |cro}..% |Now we s|
|00001a00| 74 61 72 74 20 64 65 61 | 6c 69 6e 67 20 77 69 74 |tart dea|ling wit|
|00001a10| 68 20 74 68 65 20 6d 75 | 63 68 20 6d 6f 72 65 20 |h the mu|ch more |
|00001a20| 74 72 69 63 6b 79 20 65 | 78 74 72 61 63 74 69 6f |tricky e|xtractio|
|00001a30| 6e 20 6f 66 20 74 68 65 | 20 7c 64 6f 63 75 6d 65 |n of the| |docume|
|00001a40| 6e 74 7c 0a 25 20 65 6e | 76 69 72 6f 6e 6d 65 6e |nt|.% en|vironmen|
|00001a50| 74 2e 0a 0a 25 20 57 65 | 20 73 74 61 72 74 20 77 |t...% We| start w|
|00001a60| 69 74 68 20 63 6f 6e 73 | 69 64 65 72 69 6e 67 20 |ith cons|idering |
|00001a70| 68 6f 77 20 74 6f 20 71 | 75 69 74 20 69 6e 70 75 |how to q|uit inpu|
|00001a80| 74 74 69 6e 67 20 61 20 | 66 69 6c 65 2e 20 20 54 |tting a |file. T|
|00001a90| 68 65 20 69 64 65 61 20 | 69 73 20 74 6f 20 6d 61 |he idea |is to ma|
|00001aa0| 6b 65 0a 25 20 74 68 65 | 20 7c 5c 65 6e 64 7b 64 |ke.% the| |\end{d|
|00001ab0| 6f 63 75 6d 65 6e 74 7d | 7c 20 63 6f 6d 6d 61 6e |ocument}|| comman|
|00001ac0| 64 20 6f 66 20 74 68 65 | 20 69 6e 63 6c 75 64 65 |d of the| include|
|00001ad0| 64 20 66 69 6c 65 20 63 | 61 6c 6c 20 7c 5c 65 6e |d file c|all |\en|
|00001ae0| 64 69 6e 70 75 74 7c 2e | 20 20 42 75 74 0a 25 20 |dinput|.| But.% |
|00001af0| 74 68 65 72 65 20 69 73 | 20 61 20 68 69 74 63 68 |there is| a hitch|
|00001b00| 20 74 68 61 74 20 63 68 | 61 72 61 63 74 65 72 73 | that ch|aracters|
|00001b10| 20 61 66 74 65 72 20 74 | 68 65 20 7c 5c 65 6e 64 | after t|he |\end|
|00001b20| 7b 64 6f 63 75 6d 65 6e | 74 7d 7c 20 67 65 74 20 |{documen|t}| get |
|00001b30| 69 6e 73 65 72 74 65 64 | 20 77 68 65 6e 0a 25 20 |inserted| when.% |
|00001b40| 79 6f 75 20 64 6f 6e 27 | 74 20 77 61 6e 74 20 74 |you don'|t want t|
|00001b50| 68 65 6d 20 74 6f 2e 0a | 0a 25 20 46 6f 6c 6c 6f |hem to..|.% Follo|
|00001b60| 77 69 6e 67 20 69 73 20 | 61 20 77 61 79 20 49 20 |wing is |a way I |
|00001b70| 74 72 69 65 64 20 74 6f | 20 62 65 61 74 20 74 68 |tried to| beat th|
|00001b80| 61 74 20 6c 69 6d 69 74 | 61 74 69 6f 6e 2e 20 20 |at limit|ation. |
|00001b90| 49 20 63 6f 75 6c 64 20 | 68 61 76 65 20 73 77 6f |I could |have swo|
|00001ba0| 72 6e 20 49 20 68 61 64 | 0a 25 20 69 74 20 77 6f |rn I had|.% it wo|
|00001bb0| 72 6b 69 6e 67 20 61 74 | 20 6f 6e 65 20 70 6f 69 |rking at| one poi|
|00001bc0| 6e 74 2c 20 62 75 74 20 | 69 74 20 64 6f 65 73 6e |nt, but |it doesn|
|00001bd0| 27 74 20 73 65 65 6d 20 | 74 6f 20 6e 6f 77 2e 0a |'t seem |to now..|
|00001be0| 25 20 5c 62 65 67 69 6e | 7b 6d 61 63 72 6f 7d 7b |% \begin|{macro}{|
|00001bf0| 5c 73 63 40 74 65 6d 70 | 61 7d 0a 25 20 46 69 72 |\sc@temp|a}.% Fir|
|00001c00| 73 74 20 77 65 20 6e 65 | 65 64 20 61 20 73 63 72 |st we ne|ed a scr|
|00001c10| 61 74 63 68 20 76 61 72 | 69 61 62 6c 65 2e 0a 25 |atch var|iable..%|
|00001c20| 20 20 20 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f | \beg|in{macro|
|00001c30| 63 6f 64 65 7d 0a 5c 6e | 65 77 63 6f 6d 6d 61 6e |code}.\n|ewcomman|
|00001c40| 64 5c 73 63 40 74 65 6d | 70 61 7b 7d 0a 25 20 20 |d\sc@tem|pa{}.% |
|00001c50| 20 20 5c 65 6e 64 7b 6d | 61 63 72 6f 63 6f 64 65 | \end{m|acrocode|
|00001c60| 7d 0a 25 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 7d 0a |}.% \end|{macro}.|
|00001c70| 0a 25 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 7d |.% \begi|n{macro}|
|00001c80| 7b 5c 73 63 40 72 61 64 | 69 63 61 6c 40 73 68 75 |{\sc@rad|ical@shu|
|00001c90| 74 64 6f 77 6e 7d 0a 25 | 20 57 65 20 77 69 6c 6c |tdown}.%| We will|
|00001ca0| 20 61 64 64 20 61 20 62 | 75 6e 63 68 20 6f 66 20 | add a b|unch of |
|00001cb0| 63 6f 6d 6d 61 6e 64 73 | 20 74 6f 20 74 68 69 73 |commands| to this|
|00001cc0| 20 6d 61 63 72 6f 2c 20 | 77 69 74 68 20 74 68 65 | macro, |with the|
|00001cd0| 20 69 64 65 61 20 6f 66 | 20 7c 5c 63 61 74 63 6f | idea of| |\catco|
|00001ce0| 64 65 7c 69 6e 67 0a 25 | 20 65 76 65 72 79 74 68 |de|ing.%| everyth|
|00001cf0| 69 6e 67 20 61 6e 64 20 | 69 74 73 20 62 72 6f 74 |ing and |its brot|
|00001d00| 68 65 72 20 74 6f 20 61 | 20 63 6f 6d 6d 65 6e 74 |her to a| comment|
|00001d10| 2e 20 20 20 54 68 69 73 | 20 77 6f 75 6c 64 20 62 |. This| would b|
|00001d20| 65 20 61 20 62 72 75 74 | 65 20 66 6f 72 63 65 0a |e a brut|e force.|
|00001d30| 25 20 6d 65 74 68 6f 64 | 21 20 0a 25 20 20 20 20 |% method|! .% |
|00001d40| 5c 62 65 67 69 6e 7b 6d | 61 63 72 6f 63 6f 64 65 |\begin{m|acrocode|
|00001d50| 7d 0a 5c 6e 65 77 63 6f | 6d 6d 61 6e 64 5c 73 63 |}.\newco|mmand\sc|
|00001d60| 40 72 61 64 69 63 61 6c | 40 73 68 75 74 64 6f 77 |@radical|@shutdow|
|00001d70| 6e 7b 7d 0a 25 20 20 20 | 20 5c 65 6e 64 7b 6d 61 |n{}.% | \end{ma|
|00001d80| 63 72 6f 63 6f 64 65 7d | 0a 25 20 46 69 72 73 74 |crocode}|.% First|
|00001d90| 20 6c 6f 67 20 61 20 6d | 65 73 73 61 67 65 20 74 | log a m|essage t|
|00001da0| 68 61 74 20 77 65 27 72 | 65 20 61 62 6f 75 74 20 |hat we'r|e about |
|00001db0| 74 6f 20 64 6f 20 73 6f | 6d 65 20 63 72 61 7a 79 |to do so|me crazy|
|00001dc0| 20 74 68 69 6e 67 73 2e | 20 49 6e 20 63 61 73 65 | things.| In case|
|00001dd0| 0a 25 20 73 6f 6d 65 74 | 68 69 6e 67 20 65 76 65 |.% somet|hing eve|
|00001de0| 72 20 67 6f 65 73 20 77 | 72 6f 6e 67 2c 20 74 68 |r goes w|rong, th|
|00001df0| 69 73 20 6d 69 67 68 74 | 20 68 65 6c 70 2e 0a 25 |is might| help..%|
|00001e00| 20 20 20 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f | \beg|in{macro|
|00001e10| 63 6f 64 65 7d 0a 5c 61 | 64 64 74 6f 40 6d 61 63 |code}.\a|ddto@mac|
|00001e20| 72 6f 5c 73 63 40 72 61 | 64 69 63 61 6c 40 73 68 |ro\sc@ra|dical@sh|
|00001e30| 75 74 64 6f 77 6e 0a 20 | 20 7b 5c 50 61 63 6b 61 |utdown. | {\Packa|
|00001e40| 67 65 49 6e 66 6f 7b 69 | 6e 63 6c 75 64 65 78 7d |geInfo{i|ncludex}|
|00001e50| 7b 5c 70 72 6f 74 65 63 | 74 5c 73 63 40 72 61 64 |{\protec|t\sc@rad|
|00001e60| 69 63 61 6c 40 73 68 75 | 74 64 6f 77 6e 5c 73 70 |ical@shu|tdown\sp|
|00001e70| 61 63 65 20 62 65 67 69 | 6e 6e 69 6e 67 7d 7d 0a |ace begi|nning}}.|
|00001e80| 25 20 20 20 20 5c 65 6e | 64 7b 6d 61 63 72 6f 63 |% \en|d{macroc|
|00001e90| 6f 64 65 7d 0a 25 20 4e | 6f 77 20 77 65 20 73 74 |ode}.% N|ow we st|
|00001ea0| 61 72 74 20 61 64 64 69 | 6e 67 20 7c 5c 63 61 74 |art addi|ng |\cat|
|00001eb0| 63 6f 64 65 7c 20 63 6f | 6d 6d 61 6e 64 73 2e 20 |code| co|mmands. |
|00001ec0| 20 54 68 65 73 65 20 66 | 69 72 73 74 20 74 77 6f | These f|irst two|
|00001ed0| 20 73 68 6f 75 6c 64 20 | 62 65 0a 25 20 72 65 64 | should |be.% red|
|00001ee0| 75 6e 64 61 6e 74 3b 20 | 62 75 74 20 6a 75 73 74 |undant; |but just|
|00001ef0| 20 69 6e 20 63 61 73 65 | 20 73 6f 6d 65 6f 6e 65 | in case| someone|
|00001f00| 20 63 68 61 6e 67 65 64 | 20 74 68 69 6e 67 73 5c | changed| things\|
|00001f10| 6c 64 6f 74 73 2e 0a 25 | 20 20 20 20 5c 62 65 67 |ldots..%| \beg|
|00001f20| 69 6e 7b 6d 61 63 72 6f | 63 6f 64 65 7d 0a 5c 61 |in{macro|code}.\a|
|00001f30| 64 64 74 6f 40 6d 61 63 | 72 6f 5c 73 63 40 72 61 |ddto@mac|ro\sc@ra|
|00001f40| 64 69 63 61 6c 40 73 68 | 75 74 64 6f 77 6e 7b 5c |dical@sh|utdown{\|
|00001f50| 63 61 74 63 6f 64 65 60 | 5c 25 3d 31 34 7d 20 20 |catcode`|\%=14} |
|00001f60| 20 20 25 20 31 34 20 3d | 20 63 6f 6d 6d 65 6e 74 | % 14 =| comment|
|00001f70| 0a 5c 61 64 64 74 6f 40 | 6d 61 63 72 6f 5c 73 63 |.\addto@|macro\sc|
|00001f80| 40 72 61 64 69 63 61 6c | 40 73 68 75 74 64 6f 77 |@radical|@shutdow|
|00001f90| 6e 7b 5c 63 61 74 63 6f | 64 65 60 5c 5e 3d 37 7d |n{\catco|de`\^=7}|
|00001fa0| 20 20 20 20 20 25 20 37 | 20 3d 20 73 75 70 65 72 | % 7| = super|
|00001fb0| 73 63 72 69 70 74 0a 25 | 20 20 20 20 5c 65 6e 64 |script.%| \end|
|00001fc0| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 25 20 5c 62 |{macroco|de}.% \b|
|00001fd0| 65 67 69 6e 7b 6d 61 63 | 72 6f 7d 7b 5c 73 63 40 |egin{mac|ro}{\sc@|
|00001fe0| 64 69 73 61 62 6c 65 40 | 63 68 61 72 7d 0a 25 20 |disable@|char}.% |
|00001ff0| 4e 65 78 74 2c 20 77 65 | 20 64 65 66 69 6e 65 20 |Next, we| define |
|00002000| 61 20 63 6f 6d 6d 61 6e | 64 20 77 65 20 77 65 69 |a comman|d we wei|
|00002010| 6c 6c 20 75 73 65 20 69 | 6e 20 61 20 6c 6f 6f 70 |ll use i|n a loop|
|00002020| 20 69 6e 20 61 20 6d 6f | 6d 65 6e 74 2e 0a 25 20 | in a mo|ment..% |
|00002030| 20 20 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 63 | \begi|n{macroc|
|00002040| 6f 64 65 7d 0a 5c 6e 65 | 77 63 6f 6d 6d 61 6e 64 |ode}.\ne|wcommand|
|00002050| 5c 73 63 40 64 69 73 61 | 62 6c 65 40 63 68 61 72 |\sc@disa|ble@char|
|00002060| 5b 31 5d 0a 20 20 7b 5c | 61 64 64 74 6f 40 6d 61 |[1]. {\|addto@ma|
|00002070| 63 72 6f 5c 73 63 40 72 | 61 64 69 63 61 6c 40 73 |cro\sc@r|adical@s|
|00002080| 68 75 74 64 6f 77 6e 0a | 20 20 20 20 7b 5c 63 61 |hutdown.| {\ca|
|00002090| 74 63 6f 64 65 60 23 31 | 3d 31 34 7d 7d 20 20 25 |tcode`#1|=14}} %|
|000020a0| 20 31 34 20 3d 20 63 6f | 6d 6d 65 6e 74 0a 25 20 | 14 = co|mment.% |
|000020b0| 20 20 20 5c 65 6e 64 7b | 6d 61 63 72 6f 63 6f 64 | \end{|macrocod|
|000020c0| 65 7d 0a 25 20 54 68 65 | 20 66 6f 6c 6c 6f 77 69 |e}.% The| followi|
|000020d0| 6e 67 20 6c 69 73 74 20 | 63 6f 6e 74 61 69 6e 73 |ng list |contains|
|000020e0| 20 65 76 65 72 79 20 6b | 65 79 62 6f 61 72 64 20 | every k|eyboard |
|000020f0| 63 68 61 72 20 65 78 63 | 65 70 74 20 74 68 65 73 |char exc|ept thes|
|00002100| 65 20 74 68 72 65 65 2c | 20 77 68 69 63 68 20 61 |e three,| which a|
|00002110| 72 65 0a 25 20 74 72 65 | 61 74 65 64 20 73 70 65 |re.% tre|ated spe|
|00002120| 63 69 61 6c 6c 79 3a 20 | 7c 25 23 7c 2e 20 20 0a |cially: ||%#|. .|
|00002130| 25 20 54 68 65 20 66 69 | 72 73 74 20 69 73 20 61 |% The fi|rst is a|
|00002140| 6c 72 65 61 64 79 20 61 | 20 63 6f 6d 6d 65 6e 74 |lready a| comment|
|00002150| 2c 20 61 6e 64 20 77 65 | 20 68 61 6e 64 6c 65 20 |, and we| handle |
|00002160| 74 68 65 20 73 65 63 6f | 6e 64 20 69 6e 20 61 20 |the seco|nd in a |
|00002170| 6d 6f 6d 65 6e 74 2e 20 | 20 45 61 63 68 0a 25 20 |moment. | Each.% |
|00002180| 63 68 61 72 61 63 74 65 | 72 20 69 6e 20 74 68 65 |characte|r in the|
|00002190| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 6c 69 73 74 20 | followi|ng list |
|000021a0| 69 73 20 7c 5c 63 61 74 | 63 6f 64 65 7c 64 20 74 |is |\cat|code|d t|
|000021b0| 6f 20 61 20 63 6f 6d 6d | 65 6e 74 3a 0a 25 20 20 |o a comm|ent:.% |
|000021c0| 20 20 5c 62 65 67 69 6e | 7b 6d 61 63 72 6f 63 6f | \begin|{macroco|
|000021d0| 64 65 7d 0a 5c 40 74 66 | 6f 72 5c 73 63 40 74 65 |de}.\@tf|or\sc@te|
|000021e0| 6d 70 61 3a 3d 61 62 63 | 64 65 66 67 68 69 6a 6b |mpa:=abc|defghijk|
|000021f0| 6c 6d 6e 6f 70 71 72 73 | 74 75 76 77 78 79 7a 25 |lmnopqrs|tuvwxyz%|
|00002200| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00002210| 20 41 42 43 44 45 46 47 | 48 49 4a 4b 4c 4d 4e 4f | ABCDEFG|HIJKLMNO|
|00002220| 50 51 52 53 54 55 56 57 | 58 59 5a 25 0a 20 20 20 |PQRSTUVW|XYZ%. |
|00002230| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 7e 21 40 | | ~!@|
|00002240| 24 26 2a 28 29 5f 2b 2d | 3d 5b 5d 7c 2f 3f 2e 2c |$&*()_+-|=[]|/?.,|
|00002250| 3c 3e 25 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |<>%. | |
|00002260| 20 20 20 20 31 32 33 34 | 35 36 37 38 39 30 25 0a | 1234|567890%.|
|00002270| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002280| 60 27 22 3b 3a 25 0a 20 | 20 20 20 20 20 20 20 20 |`'";:%. | |
|00002290| 20 20 20 20 20 20 20 5c | 5e 5c 5c 5c 7b 5c 7d 5c | \|^\\\{\}\|
|000022a0| 20 25 20 74 68 69 73 20 | 69 73 20 72 65 61 6c 6c | % this |is reall|
|000022b0| 79 20 74 68 65 20 63 68 | 61 72 73 20 22 5e 5c 7b |y the ch|ars "^\{|
|000022c0| 7d 22 20 61 6e 64 20 73 | 70 61 63 65 0a 20 20 20 |}" and s|pace. |
|000022d0| 20 5c 64 6f 20 7b 5c 65 | 78 70 61 6e 64 61 66 74 | \do {\e|xpandaft|
|000022e0| 65 72 5c 73 63 40 64 69 | 73 61 62 6c 65 40 63 68 |er\sc@di|sable@ch|
|000022f0| 61 72 5c 73 63 40 74 65 | 6d 70 61 7d 0a 25 20 20 |ar\sc@te|mpa}.% |
|00002300| 20 20 5c 65 6e 64 7b 6d | 61 63 72 6f 63 6f 64 65 | \end{m|acrocode|
|00002310| 7d 0a 25 20 57 65 20 61 | 64 64 20 7c 23 7c 20 73 |}.% We a|dd |#| s|
|00002320| 65 70 61 72 61 74 65 6c | 79 2c 20 62 65 63 61 75 |eparatel|y, becau|
|00002330| 73 65 20 69 74 27 73 20 | 74 72 69 63 6b 79 20 6f |se it's |tricky o|
|00002340| 72 20 69 6d 70 6f 73 73 | 69 62 6c 65 20 74 6f 20 |r imposs|ible to |
|00002350| 70 75 74 20 69 74 20 69 | 6e 74 6f 20 74 68 65 0a |put it i|nto the.|
|00002360| 25 20 6c 69 73 74 20 77 | 65 20 6a 75 73 74 20 75 |% list w|e just u|
|00002370| 73 65 64 2e 0a 25 20 20 | 20 20 5c 62 65 67 69 6e |sed..% | \begin|
|00002380| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 5c 73 63 40 |{macroco|de}.\sc@|
|00002390| 64 69 73 61 62 6c 65 40 | 63 68 61 72 5c 23 0a 25 |disable@|char\#.%|
|000023a0| 20 20 20 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 63 6f | \end|{macroco|
|000023b0| 64 65 7d 0a 25 20 5c 65 | 6e 64 7b 6d 61 63 72 6f |de}.% \e|nd{macro|
|000023c0| 7d 0a 25 20 57 65 20 65 | 6e 64 20 74 68 65 20 6d |}.% We e|nd the m|
|000023d0| 61 63 72 6f 20 77 69 74 | 68 20 7c 5c 65 6e 64 69 |acro wit|h |\endi|
|000023e0| 6e 70 75 74 7c 2e 20 20 | 54 68 69 73 20 68 61 73 |nput|. |This has|
|000023f0| 20 74 6f 20 63 6f 6d 65 | 20 61 66 74 65 72 20 61 | to come| after a|
|00002400| 6c 6c 20 74 68 65 20 70 | 72 65 76 69 6f 75 73 2c |ll the p|revious,|
|00002410| 0a 25 20 6f 74 68 65 72 | 77 69 73 65 2c 20 5c 54 |.% other|wise, \T|
|00002420| 65 58 5c 20 67 6f 65 73 | 20 61 68 65 61 64 20 61 |eX\ goes| ahead a|
|00002430| 6e 64 20 72 65 61 64 73 | 20 74 6f 20 74 68 65 20 |nd reads| to the |
|00002440| 65 6e 64 20 6f 66 20 74 | 68 65 20 6c 69 6e 65 20 |end of t|he line |
|00002450| 69 6d 6d 65 64 69 61 74 | 65 6c 79 2c 0a 25 20 77 |immediat|ely,.% w|
|00002460| 69 74 68 20 72 65 67 75 | 6c 61 72 20 63 61 74 63 |ith regu|lar catc|
|00002470| 6f 64 65 73 2e 20 20 54 | 68 69 73 20 69 73 20 61 |odes. T|his is a|
|00002480| 20 67 6f 6f 64 20 74 68 | 65 6f 72 79 2c 20 49 27 | good th|eory, I'|
|00002490| 6d 20 6e 6f 74 20 73 75 | 72 65 20 69 74 27 73 20 |m not su|re it's |
|000024a0| 6e 65 63 65 73 73 61 72 | 79 2e 0a 25 20 20 20 20 |necessar|y..% |
|000024b0| 5c 62 65 67 69 6e 7b 6d | 61 63 72 6f 63 6f 64 65 |\begin{m|acrocode|
|000024c0| 7d 0a 5c 61 64 64 74 6f | 40 6d 61 63 72 6f 5c 73 |}.\addto|@macro\s|
|000024d0| 63 40 72 61 64 69 63 61 | 6c 40 73 68 75 74 64 6f |c@radica|l@shutdo|
|000024e0| 77 6e 7b 5c 65 6e 64 69 | 6e 70 75 74 7d 0a 25 20 |wn{\endi|nput}.% |
|000024f0| 20 20 20 5c 65 6e 64 7b | 6d 61 63 72 6f 63 6f 64 | \end{|macrocod|
|00002500| 65 7d 0a 25 20 5c 65 6e | 64 7b 6d 61 63 72 6f 7d |e}.% \en|d{macro}|
|00002510| 0a 0a 25 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f |..% \beg|in{macro|
|00002520| 7d 7b 5c 73 63 40 72 61 | 64 69 63 61 6c 40 73 68 |}{\sc@ra|dical@sh|
|00002530| 75 74 64 6f 77 6e 40 61 | 66 74 65 72 67 72 6f 75 |utdown@a|ftergrou|
|00002540| 70 7d 0a 25 20 57 65 20 | 6e 65 65 64 20 74 6f 20 |p}.% We |need to |
|00002550| 75 73 65 20 7c 5c 73 63 | 40 72 61 64 69 63 61 6c |use |\sc|@radical|
|00002560| 40 73 68 75 74 64 6f 77 | 6e 7c 20 74 68 69 73 20 |@shutdow|n| this |
|00002570| 77 61 79 2e 0a 25 20 20 | 20 20 5c 62 65 67 69 6e |way..% | \begin|
|00002580| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 5c 6e 65 77 |{macroco|de}.\new|
|00002590| 63 6f 6d 6d 61 6e 64 5c | 73 63 40 72 61 64 69 63 |command\|sc@radic|
|000025a0| 61 6c 40 73 68 75 74 64 | 6f 77 6e 40 61 66 74 65 |al@shutd|own@afte|
|000025b0| 72 67 72 6f 75 70 0a 20 | 20 7b 5c 61 66 74 65 72 |rgroup. | {\after|
|000025c0| 67 72 6f 75 70 5c 73 63 | 40 72 61 64 69 63 61 6c |group\sc|@radical|
|000025d0| 40 73 68 75 74 64 6f 77 | 6e 7d 0a 25 20 20 20 20 |@shutdow|n}.% |
|000025e0| 5c 65 6e 64 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |\end{mac|rocode}.|
|000025f0| 25 20 5c 65 6e 64 7b 6d | 61 63 72 6f 7d 0a 0a 25 |% \end{m|acro}..%|
|00002600| 20 5c 62 65 67 69 6e 7b | 6d 61 63 72 6f 7d 7b 5c | \begin{|macro}{\|
|00002610| 69 6e 63 6c 75 64 65 64 | 6f 63 7d 0a 25 20 5c 62 |included|oc}.% \b|
|00002620| 65 67 69 6e 7b 6d 61 63 | 72 6f 7d 7b 5c 69 6e 63 |egin{mac|ro}{\inc|
|00002630| 6c 75 64 65 64 6f 63 2a | 7d 0a 25 20 4e 6f 77 20 |ludedoc*|}.% Now |
|00002640| 77 65 20 73 74 61 72 74 | 20 66 72 6f 6d 20 74 68 |we start| from th|
|00002650| 65 20 6f 74 68 65 72 20 | 65 6e 64 2c 20 64 65 66 |e other |end, def|
|00002660| 69 6e 69 6e 67 20 74 68 | 65 20 75 73 65 72 20 63 |ining th|e user c|
|00002670| 6f 6d 6d 61 6e 64 2e 0a | 25 20 20 20 20 5c 62 65 |ommand..|% \be|
|00002680| 67 69 6e 7b 6d 61 63 72 | 6f 63 6f 64 65 7d 0a 5c |gin{macr|ocode}.\|
|00002690| 6e 65 77 63 6f 6d 6d 61 | 6e 64 5c 69 6e 63 6c 75 |newcomma|nd\inclu|
|000026a0| 64 65 64 6f 63 0a 20 20 | 7b 5c 40 69 66 73 74 61 |dedoc. |{\@ifsta|
|000026b0| 72 0a 20 20 20 20 20 20 | 7b 5c 73 63 40 69 6e 63 |r. |{\sc@inc|
|000026c0| 6c 75 64 65 62 69 74 7d | 0a 20 20 20 20 7b 5c 63 |ludebit}|. {\c|
|000026d0| 6c 65 61 72 70 61 67 65 | 0a 20 20 20 20 5c 73 63 |learpage|. \sc|
|000026e0| 40 69 6e 63 6c 75 64 65 | 62 69 74 5b 5c 63 6c 65 |@include|bit[\cle|
|000026f0| 61 72 70 61 67 65 5d 7d | 7d 0a 25 20 20 20 20 5c |arpage]}|}.% \|
|00002700| 65 6e 64 7b 6d 61 63 72 | 6f 63 6f 64 65 7d 0a 25 |end{macr|ocode}.%|
|00002710| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 7d 0a 25 20 5c | \end{ma|cro}.% \|
|00002720| 65 6e 64 7b 6d 61 63 72 | 6f 7d 0a 0a 25 20 5c 62 |end{macr|o}..% \b|
|00002730| 65 67 69 6e 7b 6d 61 63 | 72 6f 7d 7b 73 63 40 63 |egin{mac|ro}{sc@c|
|00002740| 6f 75 6e 74 7d 0a 25 20 | 5c 62 65 67 69 6e 7b 6d |ount}.% |\begin{m|
|00002750| 61 63 72 6f 7d 7b 5c 73 | 63 40 67 6f 62 62 6c 65 |acro}{\s|c@gobble|
|00002760| 6f 70 74 7d 0a 25 20 5c | 62 65 67 69 6e 7b 6d 61 |opt}.% \|begin{ma|
|00002770| 63 72 6f 7d 7b 5c 67 6f | 62 62 6c 65 6f 70 74 7d |cro}{\go|bbleopt}|
|00002780| 0a 25 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 7d |.% \begi|n{macro}|
|00002790| 7b 5c 67 6f 62 62 6c 65 | 7d 0a 25 20 5c 62 65 67 |{\gobble|}.% \beg|
|000027a0| 69 6e 7b 6d 61 63 72 6f | 7d 7b 5c 67 6f 62 62 6c |in{macro|}{\gobbl|
|000027b0| 65 74 77 6f 7d 0a 25 20 | 42 65 66 6f 72 65 20 70 |etwo}.% |Before p|
|000027c0| 72 6f 63 65 65 64 69 6e | 67 2c 20 77 65 20 6e 65 |roceedin|g, we ne|
|000027d0| 65 64 20 61 20 6e 65 77 | 20 63 6f 75 6e 74 65 72 |ed a new| counter|
|000027e0| 2c 20 61 6e 64 20 74 68 | 65 20 67 6f 62 62 6c 65 |, and th|e gobble|
|000027f0| 72 73 2e 0a 25 20 53 61 | 79 69 6e 67 20 7c 5c 6c |rs..% Sa|ying |\l|
|00002800| 65 74 5c 66 6f 6f 5c 73 | 63 40 67 6f 62 62 6c 65 |et\foo\s|c@gobble|
|00002810| 6f 70 74 7c 20 77 69 6c | 6c 20 63 61 75 73 65 20 |opt| wil|l cause |
|00002820| 6f 63 63 75 72 72 65 6e | 63 65 73 20 6f 66 20 7c |occurren|ces of ||
|00002830| 5c 66 6f 6f 7c 5c 6d 61 | 72 67 7b 62 61 7a 7d 0a |\foo|\ma|rg{baz}.|
|00002840| 25 20 7c 5c 66 6f 6f 7c | 5c 6f 61 72 67 7b 62 61 |% |\foo||\oarg{ba|
|00002850| 72 7d 5c 6d 61 72 67 7b | 62 61 7a 7d 20 74 6f 20 |r}\marg{|baz} to |
|00002860| 62 65 20 65 6e 74 69 72 | 65 6c 79 20 69 67 6e 6f |be entir|ely igno|
|00002870| 72 65 64 2e 20 0a 25 20 | 20 20 20 5c 62 65 67 69 |red. .% | \begi|
|00002880| 6e 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 5c 6e 65 |n{macroc|ode}.\ne|
|00002890| 77 63 6f 75 6e 74 65 72 | 7b 73 63 40 63 6f 75 6e |wcounter|{sc@coun|
|000028a0| 74 7d 0a 0a 5c 6e 65 77 | 63 6f 6d 6d 61 6e 64 5c |t}..\new|command\|
|000028b0| 73 63 40 67 6f 62 62 6c | 65 6f 70 74 0a 20 20 7b |sc@gobbl|eopt. {|
|000028c0| 5c 40 69 66 6e 65 78 74 | 63 68 61 72 20 5b 7b 5c |\@ifnext|char [{\|
|000028d0| 73 63 40 40 67 6f 62 62 | 6c 65 6f 70 74 7d 7b 5c |sc@@gobb|leopt}{\|
|000028e0| 40 67 6f 62 62 6c 65 7d | 7d 0a 5c 6e 65 77 63 6f |@gobble}|}.\newco|
|000028f0| 6d 6d 61 6e 64 5c 73 63 | 40 40 67 6f 62 62 6c 65 |mmand\sc|@@gobble|
|00002900| 6f 70 74 7b 7d 0a 5c 64 | 65 66 5c 73 63 40 40 67 |opt{}.\d|ef\sc@@g|
|00002910| 6f 62 62 6c 65 6f 70 74 | 5b 23 31 5d 23 32 7b 7d |obbleopt|[#1]#2{}|
|00002920| 0a 0a 5c 6c 65 74 5c 67 | 6f 62 62 6c 65 6f 70 74 |..\let\g|obbleopt|
|00002930| 5c 73 63 40 67 6f 62 62 | 6c 65 6f 70 74 0a 5c 6c |\sc@gobb|leopt.\l|
|00002940| 65 74 5c 67 6f 62 62 6c | 65 5c 40 67 6f 62 62 6c |et\gobbl|e\@gobbl|
|00002950| 65 0a 5c 6c 65 74 5c 67 | 6f 62 62 6c 65 74 77 6f |e.\let\g|obbletwo|
|00002960| 5c 40 67 6f 62 62 6c 65 | 74 77 6f 0a 25 20 20 20 |\@gobble|two.% |
|00002970| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 63 6f 64 65 7d | \end{ma|crocode}|
|00002980| 0a 25 20 5c 65 6e 64 7b | 6d 61 63 72 6f 7d 0a 25 |.% \end{|macro}.%|
|00002990| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 7d 0a 25 20 5c | \end{ma|cro}.% \|
|000029a0| 65 6e 64 7b 6d 61 63 72 | 6f 7d 0a 25 20 5c 65 6e |end{macr|o}.% \en|
|000029b0| 64 7b 6d 61 63 72 6f 7d | 0a 25 20 5c 65 6e 64 7b |d{macro}|.% \end{|
|000029c0| 6d 61 63 72 6f 7d 0a 0a | 25 20 5c 62 65 67 69 6e |macro}..|% \begin|
|000029d0| 7b 6d 61 63 72 6f 7d 7b | 5c 73 63 40 69 6e 63 6c |{macro}{|\sc@incl|
|000029e0| 75 64 65 62 69 74 7d 0a | 25 20 49 67 6e 6f 72 65 |udebit}.|% Ignore|
|000029f0| 20 74 68 65 20 63 6f 6d | 6d 65 6e 74 65 64 20 6c | the com|mented l|
|00002a00| 69 6e 65 73 20 68 65 72 | 65 3b 20 74 68 65 79 20 |ines her|e; they |
|00002a10| 61 72 65 20 66 6f 72 20 | 74 68 65 20 62 69 67 67 |are for |the bigg|
|00002a20| 65 72 20 7c 73 63 68 6f | 6c 61 72 7c 20 70 61 63 |er |scho|lar| pac|
|00002a30| 6b 61 67 65 2e 0a 25 20 | 20 20 20 5c 62 65 67 69 |kage..% | \begi|
|00002a40| 6e 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 5c 6e 65 |n{macroc|ode}.\ne|
|00002a50| 77 63 6f 6d 6d 61 6e 64 | 5c 73 63 40 69 6e 63 6c |wcommand|\sc@incl|
|00002a60| 75 64 65 62 69 74 5b 32 | 5d 5b 5d 0a 20 20 7b 25 |udebit[2|][]. {%|
|00002a70| 5c 73 65 74 63 6f 75 6e | 74 65 72 7b 73 63 40 63 |\setcoun|ter{sc@c|
|00002a80| 6f 75 6e 74 7d 7b 5c 74 | 68 65 62 69 74 7d 25 0a |ount}{\t|hebit}%.|
|00002a90| 20 20 5c 62 65 67 69 6e | 67 72 6f 75 70 0a 20 20 | \begin|group. |
|00002aa0| 5c 44 69 73 61 62 6c 65 | 53 63 68 6f 6c 61 72 20 |\Disable|Scholar |
|00002ab0| 20 0a 20 20 5c 6c 65 74 | 5c 75 73 65 70 61 63 6b | . \let|\usepack|
|00002ac0| 61 67 65 5c 73 63 40 67 | 6f 62 62 6c 65 6f 70 74 |age\sc@g|obbleopt|
|00002ad0| 0a 20 20 5c 6c 65 74 5c | 65 6e 64 64 6f 63 75 6d |. \let\|enddocum|
|00002ae0| 65 6e 74 5c 73 63 40 72 | 61 64 69 63 61 6c 40 73 |ent\sc@r|adical@s|
|00002af0| 68 75 74 64 6f 77 6e 40 | 61 66 74 65 72 67 72 6f |hutdown@|aftergro|
|00002b00| 75 70 0a 20 20 5c 6c 65 | 74 5c 64 6f 63 75 6d 65 |up. \le|t\docume|
|00002b10| 6e 74 63 6c 61 73 73 5c | 73 63 40 67 6f 62 62 6c |ntclass\|sc@gobbl|
|00002b20| 65 6f 70 74 20 20 0a 20 | 20 5c 6c 65 74 5c 64 6f |eopt . | \let\do|
|00002b30| 63 75 6d 65 6e 74 73 74 | 79 6c 65 5c 73 63 40 67 |cumentst|yle\sc@g|
|00002b40| 6f 62 62 6c 65 6f 70 74 | 20 20 25 20 77 68 79 20 |obbleopt| % why |
|00002b50| 77 6f 72 72 79 20 61 62 | 6f 75 74 20 62 72 61 6e |worry ab|out bran|
|00002b60| 63 68 69 6e 67 20 69 66 | 20 32 2e 30 39 2e 2e 0a |ching if| 2.09...|
|00002b70| 20 20 5c 72 65 6e 65 77 | 63 6f 6d 6d 61 6e 64 5c | \renew|command\|
|00002b80| 64 6f 63 75 6d 65 6e 74 | 7b 7d 25 0a 20 20 5c 69 |document|{}%. \i|
|00002b90| 6e 63 6c 75 64 65 2a 7b | 23 32 7d 25 20 0a 20 20 |nclude*{|#2}% . |
|00002ba0| 5c 65 6e 64 67 72 6f 75 | 70 0a 25 20 20 5c 69 66 |\endgrou|p.% \if|
|00002bb0| 74 68 65 6e 65 6c 73 65 | 7b 5c 76 61 6c 75 65 7b |thenelse|{\value{|
|00002bc0| 73 63 40 63 6f 75 6e 74 | 7d 20 3d 20 5c 76 61 6c |sc@count|} = \val|
|00002bd0| 75 65 7b 62 69 74 7d 7d | 20 0a 25 20 20 20 20 20 |ue{bit}}| .% |
|00002be0| 20 7b 5c 50 61 63 6b 61 | 67 65 57 61 72 6e 69 6e | {\Packa|geWarnin|
|00002bf0| 67 7b 69 6e 63 6c 75 64 | 65 78 7d 0a 25 20 20 20 |g{includ|ex}.% |
|00002c00| 20 20 20 09 7b 49 6e 63 | 6c 75 64 65 64 20 66 69 | .{Inc|luded fi|
|00002c10| 6c 65 20 23 31 20 64 69 | 64 20 6e 6f 74 20 63 6f |le #1 di|d not co|
|00002c20| 6e 74 61 69 6e 20 61 20 | 70 72 6f 70 65 72 20 62 |ntain a |proper b|
|00002c30| 69 74 7d 7d 0a 25 20 20 | 20 20 7b 7d 25 0a 20 20 |it}}.% | {}%. |
|00002c40| 5c 70 61 72 0a 20 20 23 | 31 7d 0a 25 20 20 20 20 |\par. #|1}.% |
|00002c50| 5c 65 6e 64 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |\end{mac|rocode}.|
|00002c60| 25 20 5c 65 6e 64 7b 6d | 61 63 72 6f 7d 0a 0a 25 |% \end{m|acro}..%|
|00002c70| 20 5c 62 65 67 69 6e 7b | 6d 61 63 72 6f 7d 7b 5c | \begin{|macro}{\|
|00002c80| 69 6e 63 6c 75 64 65 64 | 6f 63 73 6b 69 70 7d 0a |included|ocskip}.|
|00002c90| 25 20 5c 62 65 67 69 6e | 7b 6d 61 63 72 6f 7d 7b |% \begin|{macro}{|
|00002ca0| 5c 69 6e 63 6c 75 64 65 | 64 6f 63 73 6b 69 70 2a |\include|docskip*|
|00002cb0| 7d 0a 25 20 4e 6f 77 20 | 77 65 20 6d 61 6b 65 20 |}.% Now |we make |
|00002cc0| 61 20 73 69 6d 69 6c 61 | 72 20 63 6f 6d 6d 61 6e |a simila|r comman|
|00002cd0| 64 20 74 68 61 74 20 5c | 65 6d 70 68 7b 65 6e 74 |d that \|emph{ent|
|00002ce0| 69 72 65 6c 79 7d 20 73 | 6b 69 70 73 20 74 68 65 |irely} s|kips the|
|00002cf0| 20 70 72 65 61 6d 62 6c | 65 2c 0a 25 20 77 68 65 | preambl|e,.% whe|
|00002d00| 72 65 61 73 20 7c 5c 69 | 6e 63 6c 75 64 65 64 6f |reas |\i|ncludedo|
|00002d10| 63 7c 20 6f 6e 6c 79 20 | 73 6b 69 70 70 65 64 20 |c| only |skipped |
|00002d20| 74 68 6f 73 65 20 63 6f | 6d 6d 61 6e 64 73 20 74 |those co|mmands t|
|00002d30| 68 61 74 20 77 65 20 73 | 70 65 63 69 66 69 63 61 |hat we s|pecifica|
|00002d40| 6c 6c 79 0a 25 20 64 69 | 73 61 62 6c 65 64 2e 20 |lly.% di|sabled. |
|00002d50| 20 4f 62 76 69 6f 75 73 | 6c 79 20 74 68 69 73 20 | Obvious|ly this |
|00002d60| 77 68 6f 6c 65 20 62 75 | 73 69 6e 65 73 73 20 6f |whole bu|siness o|
|00002d70| 66 20 74 68 65 20 70 72 | 65 61 6d 62 6c 65 20 6e |f the pr|eamble n|
|00002d80| 65 65 64 73 20 74 6f 20 | 62 65 0a 25 20 72 61 64 |eeds to |be.% rad|
|00002d90| 69 63 61 6c 6c 79 20 72 | 65 63 6f 6e 63 65 69 76 |ically r|econceiv|
|00002da0| 65 64 20 69 66 20 63 6f | 6e 76 65 6e 69 65 6e 74 |ed if co|nvenient|
|00002db0| 20 6d 6f 64 75 6c 61 72 | 69 74 79 20 6f 66 20 64 | modular|ity of d|
|00002dc0| 6f 63 75 6d 65 6e 74 73 | 20 69 73 20 74 6f 20 62 |ocuments| is to b|
|00002dd0| 65 20 68 61 64 2e 20 20 | 49 0a 25 20 77 69 6c 6c |e had. |I.% will|
|00002de0| 20 67 65 74 20 61 72 6f | 75 6e 64 20 74 6f 20 77 | get aro|und to w|
|00002df0| 72 69 74 69 6e 67 20 75 | 70 20 6d 79 20 74 68 6f |riting u|p my tho|
|00002e00| 75 67 68 74 73 20 6f 6e | 20 74 68 69 73 2c 20 61 |ughts on| this, a|
|00002e10| 6e 64 20 73 75 67 67 65 | 73 74 69 6e 67 20 61 6e |nd sugge|sting an|
|00002e20| 20 69 6e 74 65 72 69 6d | 0a 25 20 63 6f 6e 76 65 | interim|.% conve|
|00002e30| 6e 74 69 6f 6e 2c 20 77 | 68 65 6e 20 49 20 63 61 |ntion, w|hen I ca|
|00002e40| 6e 2e 20 20 41 74 20 74 | 68 65 20 6d 6f 6d 65 6e |n. At t|he momen|
|00002e50| 74 2c 20 6e 6f 20 64 69 | 73 74 69 6e 63 74 69 6f |t, no di|stinctio|
|00002e60| 6e 20 69 73 20 6d 61 64 | 65 20 62 65 74 77 65 65 |n is mad|e betwee|
|00002e70| 6e 20 74 68 69 6e 67 73 | 0a 25 20 6c 69 6b 65 20 |n things|.% like |
|00002e80| 7c 5c 6e 65 77 63 6f 6d | 6d 61 6e 64 7c 20 61 6e ||\newcom|mand| an|
|00002e90| 64 20 7c 5c 75 73 65 70 | 61 63 6b 61 67 65 7c 20 |d |\usep|ackage| |
|00002ea0| 74 68 61 74 20 73 68 6f | 75 6c 64 20 62 65 20 65 |that sho|uld be e|
|00002eb0| 78 70 6f 72 74 65 64 20 | 74 6f 20 61 20 70 61 72 |xported |to a par|
|00002ec0| 65 6e 74 0a 25 20 66 69 | 6c 65 2c 20 61 6e 64 20 |ent.% fi|le, and |
|00002ed0| 74 68 6f 73 65 20 74 68 | 69 6e 67 73 20 74 68 61 |those th|ings tha|
|00002ee0| 74 20 73 68 6f 75 6c 64 | 20 6e 6f 74 2e 0a 25 20 |t should| not..% |
|00002ef0| 20 20 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 63 | \begi|n{macroc|
|00002f00| 6f 64 65 7d 0a 5c 6e 65 | 77 63 6f 6d 6d 61 6e 64 |ode}.\ne|wcommand|
|00002f10| 5c 69 6e 63 6c 75 64 65 | 64 6f 63 73 6b 69 70 0a |\include|docskip.|
|00002f20| 20 20 7b 5c 40 69 66 73 | 74 61 72 0a 20 20 20 20 | {\@ifs|tar. |
|00002f30| 20 20 7b 5c 73 63 40 69 | 6e 63 6c 75 64 65 62 69 | {\sc@i|ncludebi|
|00002f40| 74 73 6b 69 70 7d 0a 20 | 20 20 20 7b 5c 63 6c 65 |tskip}. | {\cle|
|00002f50| 61 72 70 61 67 65 0a 20 | 20 20 20 5c 73 63 40 69 |arpage. | \sc@i|
|00002f60| 6e 63 6c 75 64 65 62 69 | 74 73 6b 69 70 5b 5c 63 |ncludebi|tskip[\c|
|00002f70| 6c 65 61 72 70 61 67 65 | 5d 7d 7d 0a 25 20 20 20 |learpage|]}}.% |
|00002f80| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 63 6f 64 65 7d | \end{ma|crocode}|
|00002f90| 0a 25 20 5c 65 6e 64 7b | 6d 61 63 72 6f 7d 0a 25 |.% \end{|macro}.%|
|00002fa0| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 7d 0a 0a 25 20 | \end{ma|cro}..% |
|00002fb0| 49 20 74 72 69 65 64 20 | 63 6f 6d 62 69 6e 69 6e |I tried |combinin|
|00002fc0| 67 20 7c 5c 73 63 40 69 | 6e 63 6c 75 64 65 62 69 |g |\sc@i|ncludebi|
|00002fd0| 74 73 6b 69 70 7c 20 61 | 6e 64 20 7c 5c 73 63 40 |tskip| a|nd |\sc@|
|00002fe0| 69 6e 63 6c 75 64 65 62 | 69 74 7c 20 62 75 74 20 |includeb|it| but |
|00002ff0| 73 6f 6d 65 74 68 69 6e | 67 0a 25 20 63 68 61 6e |somethin|g.% chan|
|00003000| 67 65 64 20 77 68 65 6e | 20 49 20 75 73 65 64 20 |ged when| I used |
|00003010| 61 20 63 6f 6e 64 69 74 | 69 6f 6e 61 6c 20 74 6f |a condit|ional to|
|00003020| 20 64 6f 20 74 68 69 73 | 2e 20 20 49 27 6d 20 73 | do this|. I'm s|
|00003030| 75 72 65 20 74 68 65 20 | 70 72 6f 62 6c 65 6d 20 |ure the |problem |
|00003040| 63 6f 75 6c 64 20 62 65 | 0a 25 20 66 69 67 75 72 |could be|.% figur|
|00003050| 65 64 20 6f 75 74 20 61 | 6e 64 20 74 68 65 20 74 |ed out a|nd the t|
|00003060| 77 6f 20 63 6f 6d 62 69 | 6e 65 64 2e 0a 0a 25 20 |wo combi|ned...% |
|00003070| 5c 62 65 67 69 6e 7b 6d | 61 63 72 6f 7d 7b 5c 73 |\begin{m|acro}{\s|
|00003080| 63 40 69 6e 63 6c 75 64 | 65 62 69 74 73 6b 69 70 |c@includ|ebitskip|
|00003090| 7d 0a 25 20 57 65 20 62 | 65 67 69 6e 20 73 6b 69 |}.% We b|egin ski|
|000030a0| 70 70 69 6e 67 20 77 69 | 74 68 20 74 68 65 20 7c |pping wi|th the ||
|000030b0| 5c 64 6f 63 75 6d 65 6e | 74 63 6c 61 73 73 7c 20 |\documen|tclass| |
|000030c0| 6f 72 20 7c 5c 64 6f 63 | 75 6d 65 6e 74 73 74 79 |or |\doc|umentsty|
|000030d0| 6c 65 7c 20 63 6f 6d 6d | 61 6e 64 2c 20 61 6e 64 |le| comm|and, and|
|000030e0| 0a 25 20 73 74 6f 70 20 | 77 69 74 68 20 74 68 65 |.% stop |with the|
|000030f0| 20 7c 5c 62 65 67 69 6e | 7b 64 6f 63 75 6d 65 6e | |\begin|{documen|
|00003100| 74 7d 7c 20 63 6f 6d 6d | 61 6e 64 2e 20 20 57 69 |t}| comm|and. Wi|
|00003110| 74 68 20 73 6f 6d 65 20 | 68 61 63 6b 69 6e 67 20 |th some |hacking |
|00003120| 74 6f 20 74 68 65 20 6e | 65 77 0a 25 20 7c 76 65 |to the n|ew.% |ve|
|00003130| 72 62 61 74 69 6d 7c 20 | 65 6e 76 69 72 6f 6e 6d |rbatim| |environm|
|00003140| 65 6e 74 2c 20 74 68 69 | 73 20 63 6f 75 6c 64 20 |ent, thi|s could |
|00003150| 62 65 20 64 6f 6e 65 2e | 20 20 49 20 68 61 76 65 |be done.| I have|
|00003160| 6e 27 74 20 64 6f 6e 65 | 20 74 68 69 73 20 79 65 |n't done| this ye|
|00003170| 74 2c 20 73 6f 20 74 68 | 69 73 0a 25 20 69 73 20 |t, so th|is.% is |
|00003180| 69 6d 70 6c 65 6d 65 6e | 74 65 64 20 62 79 20 73 |implemen|ted by s|
|00003190| 74 75 66 66 69 6e 67 20 | 65 76 65 72 79 74 68 69 |tuffing |everythi|
|000031a0| 6e 67 20 69 6e 74 6f 20 | 61 20 6d 61 63 72 6f 20 |ng into |a macro |
|000031b0| 61 72 67 75 6d 65 6e 74 | 2e 20 20 49 20 63 61 6e |argument|. I can|
|000031c0| 27 74 20 74 68 69 6e 6b | 0a 25 20 6f 66 20 61 20 |'t think|.% of a |
|000031d0| 7c 5c 62 65 67 69 6e 7c | 20 6f 63 63 75 72 72 69 ||\begin|| occurri|
|000031e0| 6e 67 20 62 65 74 77 65 | 65 6e 20 7c 5c 64 6f 63 |ng betwe|en |\doc|
|000031f0| 75 6d 65 6e 74 63 6c 61 | 73 73 7c 20 74 68 65 20 |umentcla|ss| the |
|00003200| 7c 5c 62 65 67 69 6e 7c | 20 64 6f 63 75 6d 65 6e ||\begin|| documen|
|00003210| 74 2c 20 62 75 74 0a 25 | 20 74 68 61 74 20 77 69 |t, but.%| that wi|
|00003220| 6c 6c 20 73 63 72 65 77 | 20 74 68 69 6e 67 73 20 |ll screw| things |
|00003230| 75 70 20 69 66 20 69 74 | 20 64 6f 65 73 2e 0a 0a |up if it| does...|
|00003240| 25 20 49 67 6e 6f 72 65 | 20 74 68 65 20 63 6f 6d |% Ignore| the com|
|00003250| 6d 65 6e 74 65 64 20 6c | 69 6e 65 73 20 68 65 72 |mented l|ines her|
|00003260| 65 3b 20 74 68 65 79 20 | 61 72 65 20 66 6f 72 20 |e; they |are for |
|00003270| 74 68 65 20 62 69 67 67 | 65 72 20 7c 73 63 68 6f |the bigg|er |scho|
|00003280| 6c 61 72 7c 20 70 61 63 | 6b 61 67 65 2e 0a 25 20 |lar| pac|kage..% |
|00003290| 20 20 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 63 | \begi|n{macroc|
|000032a0| 6f 64 65 7d 0a 5c 6e 65 | 77 63 6f 6d 6d 61 6e 64 |ode}.\ne|wcommand|
|000032b0| 5c 73 63 40 69 6e 63 6c | 75 64 65 62 69 74 73 6b |\sc@incl|udebitsk|
|000032c0| 69 70 5b 32 5d 5b 5d 0a | 20 20 7b 25 20 5c 73 65 |ip[2][].| {% \se|
|000032d0| 74 63 6f 75 6e 74 65 72 | 7b 73 63 40 63 6f 75 6e |tcounter|{sc@coun|
|000032e0| 74 7d 7b 5c 74 68 65 62 | 69 74 7d 25 0a 20 20 5c |t}{\theb|it}%. \|
|000032f0| 62 65 67 69 6e 67 72 6f | 75 70 0a 20 20 5c 44 69 |begingro|up. \Di|
|00003300| 73 61 62 6c 65 53 63 68 | 6f 6c 61 72 0a 20 20 5c |sableSch|olar. \|
|00003310| 6c 65 74 5c 65 6e 64 64 | 6f 63 75 6d 65 6e 74 5c |let\endd|ocument\|
|00003320| 73 63 40 72 61 64 69 63 | 61 6c 40 73 68 75 74 64 |sc@radic|al@shutd|
|00003330| 6f 77 6e 40 61 66 74 65 | 72 67 72 6f 75 70 0a 20 |own@afte|rgroup. |
|00003340| 20 5c 6c 6f 6e 67 5c 64 | 65 66 5c 64 6f 63 75 6d | \long\d|ef\docum|
|00003350| 65 6e 74 63 6c 61 73 73 | 23 23 31 5c 62 65 67 69 |entclass|##1\begi|
|00003360| 6e 7b 25 0a 20 20 20 20 | 5c 62 65 67 69 6e 67 72 |n{%. |\begingr|
|00003370| 6f 75 70 0a 20 20 20 20 | 5c 64 65 66 5c 40 63 75 |oup. |\def\@cu|
|00003380| 72 72 65 6e 76 69 72 7b | 64 6f 63 75 6d 65 6e 74 |rrenvir{|document|
|00003390| 7d 25 0a 20 20 20 20 5c | 40 67 6f 62 62 6c 65 7d |}%. \|@gobble}|
|000033a0| 20 20 25 20 22 7b 64 6f | 63 75 6d 65 6e 74 7d 22 | % "{do|cument}"|
|000033b0| 20 69 73 20 73 74 69 6c | 6c 20 74 6f 20 62 65 20 | is stil|l to be |
|000033c0| 72 65 61 64 2e 0a 20 20 | 5c 6c 65 74 5c 64 6f 63 |read.. |\let\doc|
|000033d0| 75 6d 65 6e 74 73 74 79 | 6c 65 5c 64 6f 63 75 6d |umentsty|le\docum|
|000033e0| 65 6e 74 63 6c 61 73 73 | 0a 20 20 5c 69 6e 63 6c |entclass|. \incl|
|000033f0| 75 64 65 2a 7b 23 32 7d | 25 0a 20 20 5c 65 6e 64 |ude*{#2}|%. \end|
|00003400| 67 72 6f 75 70 0a 25 20 | 20 5c 69 66 74 68 65 6e |group.% | \ifthen|
|00003410| 65 6c 73 65 7b 5c 76 61 | 6c 75 65 7b 73 63 40 63 |else{\va|lue{sc@c|
|00003420| 6f 75 6e 74 7d 20 3d 20 | 5c 76 61 6c 75 65 7b 62 |ount} = |\value{b|
|00003430| 69 74 7d 7d 0a 25 20 20 | 20 20 20 20 7b 5c 50 61 |it}}.% | {\Pa|
|00003440| 63 6b 61 67 65 57 61 72 | 6e 69 6e 67 7b 73 63 68 |ckageWar|ning{sch|
|00003450| 6f 6c 61 72 7d 0a 25 20 | 20 20 20 20 20 09 7b 49 |olar}.% | .{I|
|00003460| 6e 63 6c 75 64 65 64 20 | 66 69 6c 65 20 23 31 20 |ncluded |file #1 |
|00003470| 64 69 64 20 6e 6f 74 20 | 63 6f 6e 74 61 69 6e 20 |did not |contain |
|00003480| 61 20 70 72 6f 70 65 72 | 20 62 69 74 7d 7d 0a 25 |a proper| bit}}.%|
|00003490| 20 20 20 20 7b 7d 25 0a | 20 20 5c 70 61 72 0a 20 | {}%.| \par. |
|000034a0| 20 23 31 7d 0a 25 20 20 | 20 20 5c 65 6e 64 7b 6d | #1}.% | \end{m|
|000034b0| 61 63 72 6f 63 6f 64 65 | 7d 0a 25 20 5c 65 6e 64 |acrocode|}.% \end|
|000034c0| 7b 6d 61 63 72 6f 7d 0a | 0a 0a 25 20 5c 46 69 6e |{macro}.|..% \Fin|
|000034d0| 61 6c 65 0a 0a 5c 65 6e | 64 69 6e 70 75 74 0a 0a |ale..\en|dinput..|
|000034e0| 25 20 4e 6f 74 65 73 20 | 66 6f 72 20 6d 79 73 65 |% Notes |for myse|
|000034f0| 6c 66 3a 0a 0a 25 20 73 | 68 6f 75 6c 64 20 63 6f |lf:..% s|hould co|
|00003500| 6e 73 69 64 65 72 20 62 | 65 69 6e 67 20 61 62 6c |nsider b|eing abl|
|00003510| 65 20 74 6f 20 65 78 74 | 72 61 63 74 20 69 6e 64 |e to ext|ract ind|
|00003520| 69 76 69 64 75 61 6c 20 | 62 69 74 73 2c 20 6c 69 |ividual |bits, li|
|00003530| 6b 65 20 6d 79 20 6e 61 | 6d 65 20 73 61 79 73 2c |ke my na|me says,|
|00003540| 20 6e 6f 74 0a 25 20 6a | 75 73 74 20 74 68 65 20 | not.% j|ust the |
|00003550| 64 6f 63 75 6d 65 6e 74 | 20 63 6f 6d 6d 61 6e 64 |document| command|
|00003560| 3b 20 20 73 68 6f 75 6c | 64 20 62 65 20 74 68 65 |; shoul|d be the|
|00003570| 20 73 61 6d 65 20 70 72 | 6f 62 6c 65 6d 2e 0a 0a | same pr|oblem...|
|00003580| 25 20 69 6e 76 65 73 74 | 69 67 61 74 65 20 67 6c |% invest|igate gl|
|00003590| 6f 62 61 6c 69 74 79 20 | 6f 66 20 62 69 74 20 63 |obality |of bit c|
|000035a0| 6f 75 6e 74 65 72 0a 0a | 25 20 63 68 61 6e 67 65 |ounter..|% change|
|000035b0| 20 60 60 69 6e 63 6c 75 | 64 65 78 27 27 20 74 6f | ``inclu|dex'' to|
|000035c0| 20 60 60 73 63 68 6f 6c | 61 72 27 27 0a 0a 25 20 | ``schol|ar''..% |
|000035d0| 75 6e 63 6f 6d 6d 65 6e | 74 20 64 69 73 61 62 6c |uncommen|t disabl|
|000035e0| 69 6e 67 20 74 68 69 6e | 67 73 2c 20 61 6e 64 20 |ing thin|gs, and |
|000035f0| 63 68 65 63 6b 69 6e 67 | 20 66 6f 72 20 62 69 74 |checking| for bit|
|00003600| 63 6f 75 6e 74 65 72 20 | 74 68 69 6e 67 73 2e 20 |counter |things. |
|00003610| 0a 0a | |.. | |
+--------+-------------------------+-------------------------+--------+--------+